Genymotion 2.0 Emulators with Google Play support
Genymotion is an incredibly fast, memory-efficient VM that runs the Android OS in a more accurate manner than even the official emulator. Many Android developers do all their device testing using this emulator especially when Google Play services is concerned. In addition, the official Android emulator is plagued with a lot of bugs (i.e. intermittent network loss) that Genymotion is usually a far more reliable option.
- Sign up for an account on the Genymotion Website
- Install VirtualBox 5.0, a powerful free virtualization software for Genymotion to run.
- Download Genymotion Emulator v2.7.0 or higher for your platform.
- Install the Genymotion Emulator
- Windows: Run the MSI installer
- Mac: Open the dmg and drag both apps to Applications directory
- Go to the Genymotion ADB settings and set the path to your SDK directory (i.e. for Mac OSX, the directory is
/Users/[username]/Library/Android/sdk. For Windows, all SDK files should be by default in
C:\Documents and Settings\<user>\AppData\Local\Android\sdk)
- (PC's only) You need to reboot and enable Intel Virtualization Technology or Intel VT-x on the BIOS. Typically you need to reboot and hit
F10to enter this mode. See these instructions for more information.
- Install the Genymotion plugin for Android Studio. Go to
Pluginsand click Browse repositories. Search for Genymotion and you should find one provided by http://www.genymotion.com.
![https://i.imgur.com/AIY7gOS.gif](https://i.imgur.com/AIY7gOS.gif | width=100%)
After restarting, go to
Genymotion and setup the location of the Genymotion app.
- Run the Genymotion application
- Sign in and add your first virtual device (i.e. Nexus 4 - 4.4.4 - API 19, Nexus 4 - 5.0.0. - API 21).
- You must use an image running 4.3, 4.4.4, or 5.0.0. Other versions may not work.
- Do not start your emulator yet!
- From within Android Studio, click the genymobile icon and click "Start" on your virtual device.
- You can start the emulator through the Android Studio plugin, or can launch the Genymotion application separately.
- Wait for device to boot up into a useable state
Note: On Ubuntu/Linux, make sure to 3D acceleration mode by launching VirtualBox and going to
Settings -> Display to fix. VirtualBox appears to prone to memory leaks, so you may find yourself killing the process from time to time. To avoid large CPU consumption by the compiz window manager and swapping in general, try increasing the video memory allocation and Base Memory (found in
Settings -> System).
Note: Are you getting an error when starting the emulator?
Error Failed to load VMMR0.r0? Follow the advice here. In short, go to virtual box page and download and install VirtualBox 4.3.6 Oracle VM VirtualBox Extension Pack.
Note: If you get
Failed to load OVI error when re-adding the emulator, you need to use a new name for the same device. For example, "Nexus 4 - 4.4.4 - API 19" might be called "Nexus 4 - 4.4.4 - API 19 New".
Setup Google Play Services
NOTE: These steps need to be followed only if you want to be able to use Google services such as maps and push messaging on your Genymotion device. For basic testing, these steps can be safely skipped.
Download the ARM Translation Installer v1.1 and drag and drop the zip file onto the running Genymotion emulator device. The ARM emulator is only needed for apps that trigger a
You must close and restart the emulator fully before continuing.
The Google Play APK package needed is specific to the Android emulator version. You must use the corresponding Google Play Service package. Otherwise, you may notice problems with Google Play not having Internet connectivity or other strange issues.
| Version | APK Link | |-------------|:---------------------------------------------------------------------------------:| 406 |Android 6.0 |1) gapps-L-4-21-15.zip 2) benzo-gapps-M-20151011-signed-chroma-r3.zip (See instructions below)| |Android 5.0 |Google Play Services APK - requires Genymotion 2.4.0+ | |Android 4.4.4|Google Play Services APK | |Android 4.3 |Google Play Services APK |
Drag and drop the zip file onto the running Genymotion emulator device
NOTE: For Android 6.0, you need to first flash the first .ZIP file. Then you need to sign-in to your Google account and then flash the second file. See these instructions for more details.
When asked to flash the device, make sure to proceed with the installation.
- At this point, 'Google Apps Services' will crash frequently with the message "google play services has stopped working".
You must close and restart the emulator so that Google Play Store can be installed.
After restart, open the "Play Store" app on your emulator and sign in with a google account.
- If you can't find Google Play, try updating the Google Hangouts app to trigger an update to the Play Store.
- You may see messages that the Google+ app needs to be updated. You will need to go to the Google Play Store and click "Update".
Android 5.0.0 only: If you are using Android 5.0.0, you will be prompted to update to the latest version of Google+ app. In addition, make sure to upgrade to at least Genymotion 2.4.0.
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.
Note: If you see errors, be sure you installed the correct package above that matches the device version in the emulator. For example, if you install Samsung Galaxy S4 API 18 for Genymotion emulator and install Google Services APK for Android 4.3, Google Play should work without any issue. The important thing is to match the google play API version and Genymotion emulator device version.
Enable GPS on Emulator
Next, if you don't have the emulator started yet, be sure to boot the genymotion emulator from within the Android Studio plugin:
Now we need to enable the GPS location on the emulator by manually selecting a location on the map:
Can't run app on Genymotion emulator
If you are encountering issues with a Genymotion device not being detected inside Android Studio, try the following steps. First, close all emulators and unplug any devices. Next, open up the Terminal application on your computer.
cd ~/Library/Android/sdk/platform-tools/ ./adb kill-server killall -9 adb ./adb kill-server
Open up the Genymotion application and open
Settings => ADB and then select "Custom SDK tools". Enter your SDK path into the text field: "/Users/[USERNAME]/Library/Android/sdk":
Finally, go back to the terminal and run:
cd ~/Library/Android/sdk/platform-tools/ ./adb start-server ./adb devices
./adb devices until you see a device show up in that list:
List of devices attached 192.168.57.101:5555 device
That's it! Try running the app again.