How do you install Google frameworks (Play, Accounts, etc.) on a Genymotion virtual device?
This question already has an answer here:
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-DevelopersNote(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.
If you have issues flashing ARM translation, try re-downloading from a mirror
If you have issues flashing GApps, try re-downloading from a mirror
adb reboot
) or an app like ROM Toolbox. If nescessary you can simply close the VM window, but I don't recommend it. 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.
Since the previous answer no longer applies for new devices created with Genymotion 2.0, here is a new solution.
Install Google Play on Genymotion 2.0
The reason it no longer applies is because Genymotion no longer includes Google Apps in the virtual device image. According to Genymotion they are working with Google, but in the meantime this is a good workaround.
Install Genymotion 2.10 or above, now there is a dedicated button to install Google Play Services name "Open GApps". Link for more info
3 Steps process for Genymotion 2.9 or below:-
4.4 Kitkat
5.0 Lollipop
5.1 Lollipop
6.0 Marshmallow
7.0 Nougat
7.1 Nougat (webview patch)
8.0 Oreo
上一篇: 以像素为单位获取屏幕尺寸