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

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

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


当前回答

用于Genymotion“棒棒糖预览- Nexus 5”虚拟设备

与@KingyBobo和@anp8850中提到的步骤相同,但是: 下载正确的Android 5.0 GApps: 谷歌app for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)

更多gapp点击这里

注意,谷歌+在更新之前显示了很多错误。

其他回答

尝试下载Gapps应用程序并将其安装在Genymotion上,但意识到它已经包含在模拟器本身中

https://www.genymotion.com/blog/2-10-open-gapps-widget/

从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

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

我发现了一篇博文,描述了如何在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

遵循公认答案中的步骤对我不起作用。我使用运行5.0.0的映像执行了本指南中的步骤,它完成了工作。这是一个循序渐进的过程,就像在genymotion图像中添加谷歌播放支持一样。

最重要的区别是,在我链接到的指南中,他们提到在运行高于5.0.0的图像上安装谷歌播放服务可能无法工作,并且他们说要更改Genymotion桌面应用程序设置窗口中的ADB工具连接设置:使用自定义Android SDK工具。而且,拉链看起来也不一样。

该指南还使用了动图来说明这个过程中的步骤,因此它留下了更少的怀疑空间。

链接到gapps zip用于指南中使用的Android 5.0 -需要Genymotion 2.4.0+

链接到指南中使用的ARM Translation Installer v1.1——这是为了方便而提供的。乍一看,这似乎与公认答案中提供的答案没有任何不同

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

这对我很有用