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

后端 未结 17 1234
孤城傲影
孤城傲影 2020-11-22 03:23

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

相关标签:
17条回答
  • 2020-11-22 03:30

    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

    0 讨论(0)
  • 2020-11-22 03:30

    The latest version of Genymotion (2.10.0 onwards) 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!

    0 讨论(0)
  • 2020-11-22 03:31

    With adb, you can install GApps and ARM Support zips without a drag & drop. emuking from XDA Developers has instructions for it:

    I used 4.2.2, which is acceptable for my testing purposes. I then extracted both zip's "/system/..." folders to a folder on my desktop. In cmd prompt I used the following commands (step 1 is optional and for verification that adb is working):

    1. adb devices
    2. adb remount
    3. adb push "C:\Users\John\Desktop\GenyF_cked\system" /system

    You'll have to change the folder name in "adb push" line to where you actually extracted both zip files. After doing it, I recommend you to "adb reboot" the device.

    0 讨论(0)
  • 2020-11-22 03:33

    For Android 6.0 at least, the ARM Translation thing is apparently unnecessary.

    Just grab an x86 + Android 6.0 package (nano is fine) from OpenGApps and install by dragging-and-dropping and telling it to flash.

    It seems the ARM translation thing was previously required, before the x86 package was available. You might still need the ARM translation if you want to install ARM-only apps though.

    0 讨论(0)
  • 2020-11-22 03:33

    Now Gapps provide way to install gapps package thorough apk.

    Download APK and installation instruction from below link:

    http://opengapps.org/app/

    You can download current APK from below link:

    Play store link: https://play.google.com/store/apps/details?id=org.opengapps.app

    Current version Website Link (7/22/2017): http://opengapps.org/app/opengapps-app-v16.apk

    0 讨论(0)
  • 2020-11-22 03:35

    I tried almost all of the above options, but was not able to install google play services, however just found from the faq section of genymotion that the only way to access google play services is to use the packages provided by OpenGapps.

    I tried and this worked:

    1. Visit opengapps.org
    2. Select x86 as platform
    3. Choose the Android version corresponding to your virtual device
    4. Select nano as variant
    5. Download the zip file
    6. Drag & Drop the zip installer in new Genymotion virtual device (2.7.2 and above only)
    7. Follow the pop-up instructions
    0 讨论(0)
提交回复
热议问题