我目前正在尝试Genymotion和男孩,它比ADT模拟器快得多。
但是我需要安装谷歌Play来下载一些应用。我怎么做呢?
我目前正在尝试Genymotion和男孩,它比ADT模拟器快得多。
但是我需要安装谷歌Play来下载一些应用。我怎么做呢?
当前回答
有时“ARM翻译安装程序v1.1”不工作..下面是安装谷歌播放的简单解决方案。
Go to this link: http://www.mediafire.com/download/jdn83v1v3bregyu/Galaxy+S4++HTC+One++Xperia+Z+-+4.2.2+-+with+Google+Apps+-+API+17+-+1080x1920.zip Download the file from the link and extract to get the Android virtual device with Google Play store. The file will be in the name as “Galaxy S4 HTC One Xperia Z – 4.2.2 – with Google Apps – API 17 – 1080×1920″. Close all your Genymotion store running in the background. Copy that extracted file in to the following folder. C:\Users\'username'\AppData\Local\Genymobile\Genymotion\deployed After you copy you should see this path: C:\Users\'username'\AppData\Local\Genymobile\Genymotion\deployed\Galaxy S4 HTC One Xperia Z - 4.2.2 - with Google Apps - API 17 - 1080x1920 Inside the “Galaxy S4 HTC One Xperia Z – 4.2.2 – with Google Apps – API 17 – 1080×1920″ folder you will see many *.vmdk and *.vbox files. Now open VirtualBox and select Machine->Add and browse for the above folder and import the *.vbox file. Restart Genymotion. Done.
其他回答
使用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
如果有人在登录谷歌时出现错误,则出现以下消息:
无法登录 无法建立到服务器的可靠连接…
然后尝试从浏览器登录——在YouTube, Gmail,谷歌网站等。
这对我很有帮助。在浏览器中登录后,我能够在谷歌播放应用程序中登录…
有时“ARM翻译安装程序v1.1”不工作..下面是安装谷歌播放的简单解决方案。
Go to this link: http://www.mediafire.com/download/jdn83v1v3bregyu/Galaxy+S4++HTC+One++Xperia+Z+-+4.2.2+-+with+Google+Apps+-+API+17+-+1080x1920.zip Download the file from the link and extract to get the Android virtual device with Google Play store. The file will be in the name as “Galaxy S4 HTC One Xperia Z – 4.2.2 – with Google Apps – API 17 – 1080×1920″. Close all your Genymotion store running in the background. Copy that extracted file in to the following folder. C:\Users\'username'\AppData\Local\Genymobile\Genymotion\deployed After you copy you should see this path: C:\Users\'username'\AppData\Local\Genymobile\Genymotion\deployed\Galaxy S4 HTC One Xperia Z - 4.2.2 - with Google Apps - API 17 - 1080x1920 Inside the “Galaxy S4 HTC One Xperia Z – 4.2.2 – with Google Apps – API 17 – 1080×1920″ folder you will see many *.vmdk and *.vbox files. Now open VirtualBox and select Machine->Add and browse for the above folder and import the *.vbox file. Restart Genymotion. Done.
好吧,这可能是最简单的方法:
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.
编辑2
三个月后我们可以说:在Genymotion和cyanogenmod中没有更多的官方谷歌应用程序是获得谷歌应用程序的唯一方法。但是,您仍然可以使用Genymotion团队的前一个项目:AndroVM(下载镜像)。
EDIT
谷歌应用将于11月从Genymotion下架。您可以在Genymotion谷歌Plus页面上找到更多信息。
使用谷歌应用程序选择虚拟设备:
完成: