问题
After installing google play services on genymotion, it shows 'Unfortunatey stopped'. I restart server but it is not working.It keeps showing the error message. How to solve ?
回答1:
To setup Google play services in Genymotion
- Download the ARM Translation Installer v1.1 and drag and drop the zip file onto the running Genymotion emulator device. After file transfer is done, click on OK on the confirmation dialog to flash it to the virtual device
- When the flashing process is done, you need to restart the virtual device using command line like this
adb reboot
But if you just close the windows directly, you may need to relaunch the device a few times before it boots up. The restart is necessary
- Install Google play APK package that corresponds to the version of your Android emulator. This will flash zip of gapps
Android 4.4 and above http://opengapps.org/
Android 4.3 Google Play Services APK
Android 4.2.x Google Play Services APK
Android 4.1.x Google Play Services APK
Android 4.0.x Google Play Services APK
Android 2.3.3 Google Play Services APK
Drag and drop the downloaded file to your active virtual device to begin the flashing process as done previously.
Reboot the virtual device once again
adb reboot
After the virtual device is booted up, you will notice that Google Play services has stopped problem will keep popping up like this:
This error occurs because the installed gapps is not updated
Open Google play Sign in to your account and update all installed apps, including Google Play Services
- If you can't find Google Play, try updating the Google Hangouts app to trigger an update to the Play Store.
Make sure to update to the latest version of Google Play Services by opening the "Play Store" app and then the "Maps" app to verify play services is running correctly.
- Also it is recommended to use Genymotion 2.4+ as there issues with 2.3.1
Note: If you see errors, be sure you installed the correct package above that matches the device version in the emulator
https://github.com/codepath/android_guides/wiki/Genymotion-2.0-Emulators-with-Google-Play-support
https://inthecheesefactory.com/blog/how-to-install-google-services-on-genymotion/en
回答2:
Install genymotion from there main site.
Go to this website to download opengapps openapps-website
Select your option to match your
android versionin your genymotion virtual device. If you widows user, you can select this- openapps optionDrag and drop into genymoion virtual device. It will give you warning that are you want to flash this device. So press ok.
Restart your virtual device and done :)
来源:https://stackoverflow.com/questions/37361790/google-play-services-unfortunately-stopped-on-genymotion