Android android studio 3.1 最新版本上没有 playstore 的模拟器

Android Emulator without playstore on android studio 3.1 Latest release

我已经将我的 android 工作室 3.0.1 更新为 3.1 昨天,我正在尝试创建 nexus 5 & nexus 5X playstore 默认自带。我在上面安装了 x86 naugat Android 7.0(Google Apis) 的系统映像。下载完成并启动我的 AVD 后,它包含一些 google 应用程序(gmail、playmusic、playmovie)但不包含 google play 商店或播放服务。为什么会这样?在 android studio 的早期版本(例如 3.0.1)中,如果我遵循相同的过程,那么它会使用 playstore 创建 AVD。谁能告诉我这是怎么回事?

[Image of nexus 5 & 5X with playstore logo]1

[Image of my created AVDs not showing playstore symbols]2

您可以按照本教程进行操作 Here.

或者您也可以尝试 genymotion 模拟器 ,它具有 内置游戏商店 以及不同 API 的选项。 Here.

我找到了解决办法。我正在 selecting 系统映像 x86 android nougat 7.0(Google Apis) 所以,它只包括一些 google 应用程序但是它不包括 google Play 商店。在 post 提出我的问题后,我没有收到关于 Whosebug 的任何完美回复,所以,我从 android studio 报告了一个错误(帮助 > 提交反馈),他们给了我完美的答案。我正在 selecting 具有 google Apis 的系统映像,但如果我想在模拟器上安装 play 商店,我必须 select 系统映像具有 (google播放).

我知道这是一个愚蠢的错误,但没有人用这个答案回复我,所以,我想我应该 post 我的答案,这样其他人就可以参考这个并从中获得帮助,所以,我 post编辑了我的答案。

尝试使用“推荐”选项卡中的 Nougat,而不是“x86 图像”选项卡中的 Nougat。

您应该创建一个新的模拟器。首次打开前,请按照以下 3 个简单步骤操作:

  1. 转到 C:\Users\[user]\.android\avd\[your virtual device folder],使用文本编辑器打开 config.ini
  2. PlayStore.enabled=false更改为PlayStore.enabled=true
  3. image.sysdir.1 = system-images\android-[version]\google_apis\x86\改为
    image.sysdir.1 = system-images\android-[version]\google_apis_playstore\x86\