How to Install Google Play Service In GenyMotion Emulator
GenyMotion is the popular emulator for Android developer as at today. By default, this emulator does not come with Google Play Service. After searching around, maybe some of the GApss that is too old and not suitable for latest Genymotion version. As I tried few of them, end the up with crashing the emulator and it’s totally not working. So after experimenting few alternative. I think this is the easiest and no much steps involve.
If you preferred watch video, here it is!!! 🙂
View Demo – How to Install Google Play Service In GenyMotion Emulator
1. Genymotion 2.6.0 (Google Nexus 7 2013 – 6.0.0 – API 23)
2. Open GApps
1. Download Open GApps
Please go to this site and scroll down to bottom and you will see a lot of combination, and wonder which one to install. If you are using window please select as below ,
Android: 6.0 ( If you use Android 6.0 SDK)
Variant: Nano (Unless you want to install everything in Google Play Service else Nano should be good enough)
You may notice, some other blogs are using CyanogenMod’s gapps for this exercise, I choosen Open GApss is because they provide a version that compiles for version x86 which is perfectly good for Windows’s Developer/ Genymotion. This is because Genymotion’s ROM is compiled in x86 CPU architecture, In this case, we do not need to install ARM translation.
2. Install GApss
After downloaded the file, just drag and drop the file open_gapps-x86-6.0-nano-20160331.zip into the emulator and you will see file transfer in progress, then after about 3 minutes you will see another screen ask to install the file. Just click OK to continue.
3. Restart Emulator
Once installed, you need to restart the Emulator, This is another interesting thing that I found, I didn’t use ADB reboot command to restart the emulator which is recommended by most of them, So in my case, I just turn off the emulator and start it again. Which work pretty good compared with ADB reboot command line.
After the Emulator start, you may see some error message popup, you need to update the latest version apps for Google Play Service in Play Store, this is because some of the app version not match with the emulator causing the error message display like in the video (5:51).
You should now be able to use any apps in Google Play Services, Let’s try out our previous Google Map API V2 for a start. 😉