Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm currently trying out Genymotion and boy, it's so much faster than the ADT emulator.

But I need to install Google Play to download some apps into it. How do I do this?

like image 697
radj Avatar asked Jul 24 '13 10:07

radj


People also ask

Should I download Genymotion with or without VirtualBox?

Ofcourse it needs another virtual box. Think of it as you are running mint in a virtual box container, now to run the gennymotion emulators you need to install the virtual box, but this is very tideous are bad idea, it is recomended that you do a full OS install.


1 Answers

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.

like image 93
japzone Avatar answered Sep 20 '22 11:09

japzone