How to install Google Play Services in a Genymotion VM (with no drag and drop support)?
How can I install Google Play Services in a Genymotion emulator with no drag and drop support?
I can't install it as mentioned in Stack Overflow post How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device? due to the lack of support for drag and drop installation.
Genymotion supports Google Apps for a few emulators, but it doesn't support tablet emulators.
Genymotion doesn't provide Google Apps. To install Google Apps:
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
You could do this simply by:
NOTE: you can find the right GApp version here:
http://forum.xda-developers.com/showthread.php?t=2528952
The latest version of Genymotion (2.10.0) now allows you to install GApps from the emulator toolbar:
Click the GApps button the toolbar
Accept the Terms and Conditions
Your download of google apps will then begin
Once the download is complete simply restart the virtual device!
链接地址: http://www.djcxy.com/p/90614.html