anp8850 anp8850 - 1 year ago 212
Android Question

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.

Answer Source

Genymotion doesn't provide Google Apps. To install Google Apps:

  1. Upgrade Genymotion and VirtualBox to the latest version.

  2. 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.

  3. Open Genymotion emulator and go to home screen then drag and drop the first file 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.

  4. Drag and drop the second file gapps-* and repeat the same steps as above. Run adb reboot again and, once rebooted, Google Apps will be in the emulator.

  5. 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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download