ChatGPT解决这个技术问题 Extra ChatGPT

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

VmHow 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 dropped GApps and ARM Support on all their VMs, not some. The guide you're linking to is how to get them back. If you can't Drag&Drop that means you don't have the Android SDK installed on your PC. If you have a problem regarding a specific answer, just comment next time instead of making a whole new question.
Your comment about this topic is really helpful thanks. Next time I will just comment instead of making new question .
in case you have issues with the drag and drop read this also: stackoverflow.com/questions/20002138/…
Official way is mentioned in the Genymotion FAQ: genymotion.com/help/desktop/faq/#google-play-services (See Mahesh N's post below.)

H
Hoppus Hoppard

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:

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


How does one do adb reboot?
@PeterRaeves Use the following command adb connect 192.168.56.101 followed by adb -e reboot. -e is important such that, to tell adb channel reboot command to connected virtual device.
In order to update Google Play, you can open Google Play, go to Settings and click on the Build Version.
If you want to update Google Play services, in the browser on the phone, search for "Google Play Services" and the first result should be a link to the Google Play Services on the play store. You can update it there.
M
MichaelStoddart

The latest version of Genymotion (2.10.0 onwards) now allows you to install GApps from the emulator toolbar:

https://i.stack.imgur.com/kOLGQ.png

Click the GApps button the toolbar

https://i.stack.imgur.com/ZQHqd.png

Accept the Terms and Conditions

https://i.stack.imgur.com/4moXr.png

Your download of google apps will then begin

Once the download is complete simply restart the virtual device!


This should be voted to the top.In addition to following this step, it is also recommended to install Google Maps.
I just get "failed to download" and it stops. Tried many times. The virtual device has working network connection though because I can open the android webview browser app and do a search on google. I used the Genymotion Android 7.0 default phone device, on the first page of the list of virtual devices.
this worked for me this should be the answer. it always good to scroll down to check other answers
Does not work for API 16. Returning a dialog with the following: "Open GApps are not available for Android 4.1.1."
this should be the accepted answer right now!. none of the other methods worked for me... Thanks Open GApps team!!
V
V-rund Puro-hit

You could do this simply by:

Download the ARM Translation Installer v1.1(ARMTI) Download the Google Apps for your Android version 4.4, 4.3, 4.2, or 4.1 for instance Drag and drop the ARMTI to the HomeScreen of your emulator, and confirm all Reboot your emulator Drag & Drop the correct Google App version to your HomeScreen Reboot your emulator JOB DONE.

NOTE: you can find the right GApp version here:

http://forum.xda-developers.com/showthread.php?t=2528952


I got only gmail and hangout app in my genymotion.
Play service for version 6.0.0:- blog.ostebaronen.dk/2016/04/…
v
virtualxtc

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:

Visit opengapps.org Select x86 as platform Choose the Android version corresponding to your virtual device Select nano as variant Download the zip file Drag & Drop the zip installer in new Genymotion virtual device (2.7.2 and above only) Follow the pop-up instructions


This works, and is now the official recommended way according to Genymotion - see comment here gist.github.com/wbroek/9321145#gistcomment-1894019 for example. I got this working on a Nexus 5 image running API23 using the x86 nano package
THIS is the one and only correct and solid solution to this nonsense! "ARM Translation Installer" is NOT needed. Please up vote this answer to top.
After wasting hours following now outdated suggestions for changing Geny to ARM, this solution appears to be working. Tested on 5.0. Just be sure the gapps version number matches the Geny Android version.
I had to use an older version (open_gapps-x86-6.0-nano-20170103.zip). The current OpenGApps (open_gapps-x86-6.0-nano-20170205.zip) would hang when flashing.
Thumbs Up bro! Perfect
佚名

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.


After 10 years of searching... this finally worked!!!! Using android 6.0.0(API 23). Before this I was using endless variations similar to the accepted answer with 800+ votes up. Before this opening the Play Store was stuck on loading. Versions used - Ubuntu 14.04, virtualbox 4.3.36, genymotion 2.8.0 Genymotion emulator - "Google Nexus 6, 6.0.0 API 23"
Thanks anon. Works perfectly on Mac GM 2.8.0 Android 6.0
C
Community

For Genymotion "Lollipop Preview - Nexus 5" virtual device

Same steps mentioned in @KingyBobo and @anp8850 answers, but:

Download the correct GApps for Android 5.0: Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip)

More GApps here

Note that Google+ shows lot of errors before updated.


p
pRaNaY

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

https://i.stack.imgur.com/gNfa6.png


Wow, this seems a lot more easier than other options. Thanks
this answer is very out of date and the link is broken
Yes, play store link is broken. It may removed by gapps developer. You can download gapps apk from direct apk link also.
S
SANAT

https://i.stack.imgur.com/Vyjgc.png

As of verison 2.10, Genymotion can be installed using the toolbar in your emulator. Simply look for the Open GAPPS button.


v
vovahost

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):

adb devices adb remount 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.


Having tried this, I get error signing in when I try to run setup and signin with my google id. In logcat it prints java.lang.NoClassDefFoundError: com/google/android/gms/org/conscrypt/NativeCrypto. What I did was: mkdir system unzip -d system/ open_gapps-x86-4.4-nano-20151224.zip adb push system /system Would appreciate any help.
m
mixel

Download ARM Translation v1.1 and flash it by dragging and dropping over the emulator. Then reboot the emulator. Go to Open GApps, select x86 architecture, Android version of your emulator and variant (nano is enough, other applications can be installed from Play Store) and download zip archive. Drag and drop this archive to the emulator and flash it. Reboot the emulator.


I think that this method is no longer working - it's impossible to flash newest GApps packages (at least for now). More info here: github.com/opengapps/opengapps/issues/135
this solution work for my Android 6.0.0 version. Using the nano, make it succeed for me, I try stock and even pico, nothing works. Thank you
Genymotion 2.7.2 over Windows 10 + Open GApps x86-5.1-nano + Emulator for Nexus 9 Android 5.1.0 API 22 ...... Are now WORKING!!!
plus 1 for including the x86 architecture tip
the x86_64 did not work for me but x86 did even though I have a 64 bit cpu, does anyone know why?
L
Lukas Lechner

Drag and Drop did not work on my system...

I found a blogpost which describes how you install it with adb:

adb push Genymotion-ARM-Translation_v1.1.zip /sdcard/Download/Genymotion-ARM-Translation_v1.1.zip

adb push gapps-jb-yyyymmdd-signed.zip /sdcard/Download/gapps.zip

adb shell flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation_v1.1.zip

adb reboot

adb shell flash-archive.sh /sdcard/Download/gapps.zip

adb reboot

M
Muhammad Tameem Rafay

3 steps to download the Google Play services Using Genymotion emulator

https://i.stack.imgur.com/EVmGl.png

2. Downloading Bar

https://i.stack.imgur.com/OevIG.png

3. Needs to restart

https://i.stack.imgur.com/ZS7Y3.png


V
Vinay John

There is an Open GAPPS button in the top right corner of the genymotion. Click on it you can directly install Gapps from genymotion.


Y
Yunus

For Genymotion 2.12.2 you can find GApps added in all their virtual devices. Run any virtual device by Genymotion and then you can find on the top right corner which says Open GApps. Press it and it will automatically install GApps.

!(https://imgur.com/a/ju3EYE0)


t
the beest

Following the steps in the accepted answer didn't work for me. I followed the steps in this guide with an image running 5.0.0, and it got the job done. It's a step-wise process just like the accepted answer for adding Google Play support to genymotion images.

The most important differences are that in the guide I linked to, they mention that installing Google Play Services on images running higher than 5.0.0 may not work, and they say to change the ADB tool connection settings in the Genymotion desktop application's settings window to: Use custom Android SDK tools. Also, the gapps zips seem to be different.

The guide also uses GIFs to illustrate the steps in the process, so it leaves much less room for doubt.

Link to gapps zip for Android 5.0 used in the guide -- requires Genymotion 2.4.0+

Link to ARM Translation Installer v1.1 used in the guide -- this is provided for convenience. it doesn't seem any different than the one provided in the accepted answer at first glance


T
Taimoor Tariq

Download the latest version of genymotion and after creating a device click on Open GAPP in device right side.

That work for me


n
nakeer

Tried to download Gapps app and install it on Genymotion, but realized that its already included within the emulator itself

https://www.genymotion.com/blog/2-10-open-gapps-widget/


关注公众号,不定期副业成功案例分享
Follow WeChat

Success story sharing

Want to stay one step ahead of the latest teleworks?

Subscribe Now