我如何在Genymotion模拟器中安装没有拖放支持的谷歌播放服务?
我不能安装它,正如在Stack Overflow帖子中提到的,你如何在Genymotion虚拟设备上安装谷歌框架(播放,帐户等)?由于缺乏支持拖放安装。
Genymotion支持一些模拟器的谷歌应用程序,但不支持平板模拟器。
我如何在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点击这里
注意,谷歌+在更新之前显示了很多错误。
其他回答
3步下载谷歌播放服务使用Genymotion模拟器
1. 单击工具栏右下方的箭头
2. 下载栏
3.需要重新启动
从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
下载ARM Translation v1.1并在模拟器上拖放它。然后重新启动模拟器。 打开GApps,选择x86架构,Android版本的模拟器和变体(nano就足够了,其他应用程序可以从Play Store安装),然后下载压缩文件。将这个存档拖放到模拟器中,并将其刷新。重新启动模拟器。
我尝试了上面几乎所有的选项,但都无法安装谷歌播放服务,但刚刚从genymotion的faq部分发现,访问谷歌播放服务的唯一方法是使用OpenGapps提供的包。
我试过了,结果成功了:
访问opengapps.org 选择x86作为平台 选择与虚拟设备对应的Android版本 选择纳米作为变体 下载zip文件 在新的Genymotion虚拟设备中拖放zip安装程序(仅限2.7.2及以上版本) 按照弹出的说明操作
拖放不能在我的系统上工作…
我发现了一篇博文,描述了如何在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