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

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

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


当前回答

从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

其他回答

3步下载谷歌播放服务使用Genymotion模拟器

1. 单击工具栏右下方的箭头

2. 下载栏

3.需要重新启动

Genymotion的最新版本(2.10.0起)现在允许你从模拟器工具栏安装GApps:

单击工具栏上的GApps按钮

接受条款和条件

然后开始下载谷歌应用程序

下载完成后,只需重新启动虚拟设备!

使用adb,你可以安装GApps和ARM Support,而不需要拖放。 emuking from XDA开发者对此有说明:

我使用了4.2.2,这对于我的测试目的来说是可以接受的。然后我将zip的“/system/…”文件夹解压到桌面上的一个文件夹中。 在cmd提示符中,我使用以下命令(步骤1是可选的,用于验证adb正在工作):

亚洲开发银行设备 亚洲开发银行重新安装 “C:\Users\John\Desktop\GenyF_cked\system”/system

您必须将“adb push”行中的文件夹名称更改为您实际提取两个zip文件的位置。完成后,我建议您“adb重启”设备。

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

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

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

拖放不能在我的系统上工作…

我发现了一篇博文,描述了如何在adb中安装它:

adb push Genymotion-ARM-Translation_v1.1.zip /sdcard/Download/Genymotion-ARM-Translation_v1.1.zip

adb push gapps-jb-yyyymmdd-signed.zip /sdcard/Download/gapps.zip

adb shell flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation_v1.1.zip

adb reboot

adb shell flash-archive.sh /sdcard/Download/gapps.zip

adb reboot