我目前正在尝试Genymotion和男孩,它比ADT模拟器快得多。

但是我需要安装谷歌Play来下载一些应用。我怎么做呢?


当前回答

2017年5月28日更新:据我所知,这种方法不再支持,也不再有效。不要尝试。


#如何添加谷歌应用程序和ARM支持Genymotion v2.0+ #

Original Source:

[指南]Genymotion |安装ARM翻译和GApps - xda开发者


注(2月2日):与之前的报道相反,人们发现Android 4.4实际上可以使用ARM翻译,尽管它有很多bug。按照与前面相同的步骤进行操作,只需确保下载了4.4 GApps即可。

更新-v1.1:我已经得到了更多的libhoudini的最新版本,并更新了ZIP文件。这修复了很多应用程序崩溃和挂起。换上新的,应该就能用了。


本指南用于在Genymotion虚拟机中恢复ARM翻译/支持(这是导致“install_failed_cpu_abi_compatible”错误的原因)和谷歌播放应用程序。

Download the following ZIPs: ARM Translation Installer v1.1 (Mirrors) If you have issues flashing ARM translation, try re-downloading from a mirror Download the correct GApps for your Android version: If you have issues flashing GApps, try re-downloading from a mirror Google Apps for Android 6.0 Google Apps for Android 5.1 Google Apps for Android 5.0 Google Apps for Android 4.4 (Download from CM11 Links) (4.4 GApps might have bugs) Google Apps for Android 4.3 (Mirrors) Google Apps for Android 4.2 Google Apps for Android 4.1 Next open your Genymotion VM and go to the home screen Now drag&drop the Genymotion-ARM-Translation_v1.1.zip onto the Genymotion VM window. It should say "File transfer in progress". Once it asks you to flash it, click 'OK'. Now reboot your VM using ADB (adb reboot) or an app like ROM Toolbox. If nescessary you can simply close the VM window, but I don't recommend it. Once you're on the home screen again drag&drop the gapps-*-signed.zip (the name varies) onto your VM, and click 'OK' when asked. Once it finishes, again reboot your VM and open the Google Play Store. Sign in using your Google account Once in the Store go to the 'My Apps' menu and let everything update (it fixes a lot of issues). Also try updating Google Play Services directly. Now try searching for 'Netflix' and 'Google Drive' If both apps show up in the results and you're able to Download/Install them, then congratulations: you now have ARM support and Google Play fully set up!

我在Genymotion v2.0.1-v2.1上使用Android 4.3和4.4图像进行了测试。如果你只想要ARM支持,可以跳过GApps步骤。它自己会工作得很好。


Old zip: v1.0。不要下载这些,因为它们不会解决你的问题。它是为了存档和实验目的而留下的。

其他回答

尝试执行下面链接中指定的所有步骤,在将VirtualBox升级到4.2之前,请遵循VirtualBox 4.2.0发布的支持从主机拖放到Linux客户机,更多的说明。然后将Genymotion升级到最新版本。

打开桌面,运行Genymotion。选择一个Android 4.2版本的虚拟设备,然后先拖放两个文件genymotion - arm - translation_v1 .zip。然后Genymotion将显示进度,在此之后它将提示一个对话框。然后单击“确定”,它将要求重新启动设备。重启亚行。对第二个文件gapps-jb-20130812-signed.zip执行相同的步骤,并重新启动ADB。

我希望这能解决这个问题。检查这个链接-它解释得更清楚。

好吧,这可能是最简单的方法:

First of all, you will have to install GAPPS. Next, open the virtual box and wait for the home screen to show up on Genymotion. Drag and drop the GAPPS folder that you had downloaded earlier on into Genymotion. You would get a prompt. Click OK. You would see a lot of errors, but just ignore them and wait for the successful prompt to come up. Click OK again and restart the virtual device. A Google account screen should show up. Open up the playstore app if it doesn't show up. Sign into your account. Again ignore the errors. The playstore should open now and should be fully functional.

使用https://stackoverflow.com/a/20013322/98057,我可以闪现ARM翻译,但不能闪现gapps。我得到了上面提到的“哎呀,在闪烁gapps-jb-20121011-signed.zip时出错了”错误。如果你读Genymotion的日志,发现这样的条目:

Sep 16 23:00:02 [Genymotion Player] [Error] [Adb][shell] Unable to finished process:  "Process operation timed out" 

尝试使用adb直接应用flash:

$ adb -s 192.168.56.101:5555 shell "/system/bin/check-archive.sh /sdcard/Download/gapps-jb-20121011-signed.zip"
$ adb -s 192.168.56.101:5555 shell "/system/bin/flash-archive.sh /sdcard/Download/gapps-jb-20121011-signed.zip"
$ adb reboot

根据日志文件的内容更改这些命令(路径和IP可能不同)。

顺便说一下,我在以下文件夹中找到了Genymobile日志文件:

~/.Genymobile/Genymotion/deployed/<device name>/genymotion-player.log

安装Genymotion 2.10或以上版本,现在有一个专门的按钮来安装谷歌播放服务名称“打开GApps”。链接获取更多信息

Genymotion 2.9或以下版本的3个步骤

4.4 Kitkat 5.0棒棒糖 5.1棒棒糖 6.0棉花糖 7.0牛轧糖 7.1牛轧糖(webview补丁) 8.0奥利奥 8.1奥利奥 9.0派

以上下载链接 只需拖放下载的zip文件到genymotion并重新启动 添加谷歌帐号,下载“谷歌播放音乐”并运行。

2017年5月28日更新:据我所知,这种方法不再支持,也不再有效。不要尝试。


#如何添加谷歌应用程序和ARM支持Genymotion v2.0+ #

Original Source:

[指南]Genymotion |安装ARM翻译和GApps - xda开发者


注(2月2日):与之前的报道相反,人们发现Android 4.4实际上可以使用ARM翻译,尽管它有很多bug。按照与前面相同的步骤进行操作,只需确保下载了4.4 GApps即可。

更新-v1.1:我已经得到了更多的libhoudini的最新版本,并更新了ZIP文件。这修复了很多应用程序崩溃和挂起。换上新的,应该就能用了。


本指南用于在Genymotion虚拟机中恢复ARM翻译/支持(这是导致“install_failed_cpu_abi_compatible”错误的原因)和谷歌播放应用程序。

Download the following ZIPs: ARM Translation Installer v1.1 (Mirrors) If you have issues flashing ARM translation, try re-downloading from a mirror Download the correct GApps for your Android version: If you have issues flashing GApps, try re-downloading from a mirror Google Apps for Android 6.0 Google Apps for Android 5.1 Google Apps for Android 5.0 Google Apps for Android 4.4 (Download from CM11 Links) (4.4 GApps might have bugs) Google Apps for Android 4.3 (Mirrors) Google Apps for Android 4.2 Google Apps for Android 4.1 Next open your Genymotion VM and go to the home screen Now drag&drop the Genymotion-ARM-Translation_v1.1.zip onto the Genymotion VM window. It should say "File transfer in progress". Once it asks you to flash it, click 'OK'. Now reboot your VM using ADB (adb reboot) or an app like ROM Toolbox. If nescessary you can simply close the VM window, but I don't recommend it. Once you're on the home screen again drag&drop the gapps-*-signed.zip (the name varies) onto your VM, and click 'OK' when asked. Once it finishes, again reboot your VM and open the Google Play Store. Sign in using your Google account Once in the Store go to the 'My Apps' menu and let everything update (it fixes a lot of issues). Also try updating Google Play Services directly. Now try searching for 'Netflix' and 'Google Drive' If both apps show up in the results and you're able to Download/Install them, then congratulations: you now have ARM support and Google Play fully set up!

我在Genymotion v2.0.1-v2.1上使用Android 4.3和4.4图像进行了测试。如果你只想要ARM支持,可以跳过GApps步骤。它自己会工作得很好。


Old zip: v1.0。不要下载这些,因为它们不会解决你的问题。它是为了存档和实验目的而留下的。