我如何在Genymotion模拟器中安装没有拖放支持的谷歌播放服务?

我不能安装它,正如在Stack Overflow帖子中提到的,你如何在Genymotion虚拟设备上安装谷歌框架(播放,帐户等)?由于缺乏支持拖放安装。

Genymotion支持一些模拟器的谷歌应用程序,但不支持平板模拟器。


当前回答

对于Genymotion 2.12.2,你可以在所有的虚拟设备中找到GApps。通过Genymotion运行任何虚拟设备,然后你可以在右上角找到Open GApps。按下它,它会自动安装GApps。

! (https://imgur.com/a/ju3EYE0)

其他回答

对于Android 6.0来说,ARM翻译显然是不必要的。

只需要从OpenGApps中抓取一个x86 + Android 6.0包(nano就可以了),通过拖拽的方式安装,并让它闪光。

在x86包可用之前,ARM转换似乎是必须的。不过,如果你想安装ARM专用的应用程序,你可能仍然需要ARM翻译。

从Genymotion 2.10.0及以后,GApps可以从模拟器工具栏安装。 请参考@MichaelStoddart的回答。

下面是由于历史原因保留在这里的原答案:

Genymotion不提供谷歌应用程序。安装谷歌应用程序:

Upgrade Genymotion and VirtualBox to the latest version. Download two zip files: - ARM Translation Installer v1.1 - Google Apps for your Android version: 2.3.7 - 4.4.4 or 4.4 - 6.0 (with platform and variant) You can also find the GApps list in the wbroek user GitHubGist page. Open Genymotion emulator and go to home screen then drag and drop the first file Genymotion-ARM-Translation_v1.1.zip over the emulator. A dialog will appear and show as file transfer in progress, then another dialog will appear and ask that do you want to flash it on the emulator. Click OK and reboot the device by running adb reboot from your terminal or command prompt. Drag and drop the second file gapps-*-signed.zip and repeat the same steps as above. Run adb reboot again and, once rebooted, Google Apps will be in the emulator. At this point 'Google Apps Services' will crash frequently with the following message google play services has stopped working. Open Google Play. After providing your account details, open Google Play and update your installed Google Apps. This seems to make Google Play realize you have an old Google Play Services and will ask you to update (in my case, updating Google Hangouts required a new version of Google Play Services). I've also heard that simply waiting will also prompt you to update. The 'Google Play Services' app doesn't seem to appear otherwise - you can't search for it. You should then see an offer to update Google Play Services. Once the new Google Play Services is installed you will now have stable, working access to Google Play

下载最新版本的genymotion,并在创建设备后单击设备右侧的Open GAPP。

这对我很有用

我尝试了上面几乎所有的选项,但都无法安装谷歌播放服务,但刚刚从genymotion的faq部分发现,访问谷歌播放服务的唯一方法是使用OpenGapps提供的包。

我试过了,结果成功了:

访问opengapps.org 选择x86作为平台 选择与虚拟设备对应的Android版本 选择纳米作为变体 下载zip文件 在新的Genymotion虚拟设备中拖放zip安装程序(仅限2.7.2及以上版本) 按照弹出的说明操作

在genymotion的右上角有一个Open GAPPS按钮。点击它,你可以直接从genymotion安装Gapps。