The Genymotion for Android is considered to be an fastest Android emulator alternative for testing Android applications. By default Genymotion doesnt directly include the Google Play Services. This means that some of the Android features such as Google Map, require Google play service cannot be tested on the Genymotion emulator.
However, it allows you to install the required Google Play Services by yourself. This post explains the instructions for installing Google Play Services in the Genymotion emulator.
It is assumed you already have the Genymotion emulator installed and have download one or more of the supported device images.
- Start the Genymotion Virtual device you have configured. In this post, I have configured Google Nexus6 Android version 5.0.
- Download the appropriate version of Google Play Services .zip file. Make sure to download the Google Play Services version same as your virtual device Android version.
- Drag the .zip file onto the running virtual device and drop it to install the component, here we show it on Mac OS X, but the same mechanism is used in Windows. Notice that, 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 virtual device.
- Reboot the virtual device and notice that Google Apps will be in the emulator. Now you can run applications that depend on Google Play Service API.
Note: Google Apps Services may crash frequently and stopped working. This means you may need to upgrade al required Google Apos from Play Store.