How to Install Google Play Services in a Genymotion Vm (With No Drag and Drop Support)

How to install Google Play Services in a Genymotion VM (with no drag and drop support)?

As of Genymotion 2.10.0 and onwards, GApps can be installed from the emulator toolbar.
Please refer to answer by @MichaelStoddart.

Next follows former answer kept here for historic reason:

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

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

  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

Cannot install Google Play Services in my Genymotion

Click on the GApps icon in the top-right corner of the window: Genymotion will download and install the right Open GApps package for your device.

Google Play Services on Genymotion emulator with Android 7

Updated answer

Since Genymotion 2.10, you are able to install Google Play Services within ease without dealing with zip files. You now have a 1-click installer (called "Open GApps" widget).

Here are few notes to consider:

  • The 1-click installer is available for every device running Android 4.4 or more (whether new or already created), as long as Genymotion 2.10 is installed.
  • The Open GApps widget installs the smallest variant (i.e. pico) as it fits most development and testing needs.

    That means you only get Google Play Store and Google Play Services and nothing else.

If you need access to further Google apps, you can either visit the Play Store and download them from there or you can install another variant of Open GApps from their website, as describe in my original answer.

How to use the widget and install Open GApps

Just open your Genymotion device.

You will see a gray Open GApps logo on the right bar, alongside with all the other settings:

Unused Open GApps widget

When you click on that logo, Genymotion will start downloading Open GApps to your device:

Downloading Open GApps

Then, you will need to restart your device and you're all set:

Instalation Seccusfull


Original answer

In order to install Google Play and use it on Genymotion, you will need to find a zip file of the pre-built Google Apps packages to onto the emulator.

As mentioned in the comments to your question, Genymotion's ROM is compiled to x86 to match the most popular computer's CPU architecture.

However, most of the pre-built Google Apps packages available are using ARM architecture, which is popular among phones.

Some of the comments mentioned the need for installing an ARM Translation which will let those ARM apps to run on the x86 virtual device, but it might be difficult to find the right translation file for Android Nougat and anyway that it not necessary at all.

You are able to go to the open GApps site and install the needed pre-built Google Apps packages that you desire.

Make sure to choose Platform: x86 and the proper Android version.

In order to install it on Genymotion just drag and drop the zip file into the emulator and you will be prompted with the following message which lets you know that the file can be flashed to the device:
Flashing openGApps on Genymotion emulator
Click OK and it will flash the file.

When the process is done you will be prompted with the following message:
Flashing process onto Genymotion emulator is done
All you need to do is to restart the device emulator and you will have Google Play on your Android Nougat emulator.

Enjoy.

How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device?

Update May 28th, 2017: This method is no longer supported by me and doesn't work anymore as far as I know. Don't try it.


# How To Add Google Apps and ARM Support to Genymotion v2.0+ #

Original Source: [GUIDE] Genymotion | Installing ARM Translation and GApps - XDA-Developers

Note(Feb 2nd): Contrary to previous reports, it's been discovered that Android 4.4 does in fact work with ARM translation, although it is buggy. Follow the steps the same as before, just make sure you download the 4.4 GApps.

UPDATE-v1.1: I've gotten more up-to-date builds of libhoudini and have updated the ZIP file. This fixes a lot of app crashes and hangs. Just flash the new one, and it should work.


This guide is for getting back both ARM translation/support (this is what causes the "INSTALL_FAILED_CPU_ABI_INCOMPATIBLE" errors) and Google Play apps in your Genymotion VM.

  1. 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
  2. Next open your Genymotion VM and go to the home screen
  3. Now drag&drop the Genymotion-ARM-Translation_v1.1.zip onto the Genymotion VM window.
  4. It should say "File transfer in progress". Once it asks you to flash it, click 'OK'.
  5. 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.
  6. 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.
  7. Once it finishes, again reboot your VM and open the Google Play Store.
  8. Sign in using your Google account
  9. 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.
  10. Now try searching for 'Netflix' and 'Google Drive'
  11. 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!

I've tested this on Genymotion v2.0.1-v2.1 using Android 4.3 and 4.4 images. Feel free to skip the GApps steps if you only want the ARM support. It'll work perfectly fine by itself.


Old Zips: v1.0. Don't download these as they will not solve your issues. It is left for archival and experimental purposes.

How to install Google Play Services on 6.0 Genymotion device?

Ivan,
I found the solution here and followed the steps from the user @sinistance and it worked for me using the Nexus 5X Preview API 23.

To simplify this is the answer:

what image did you use? i'm using the preview nexus 5x image. here is the steps:


  1. flash Genymotion-ARM-Translation_v1.1.zip then restart.
  2. flash gapps-L-4-21-15.zip.
  3. sign in into your google account.
  4. flash benzo-gapps-M-20151011-signed-chroma-r3.zip then restart.

that's all

You can find all the files in the link above!
I hope it works for you!

Regards



Related Topics



Leave a reply



Submit