Skip to content

Setting up Genymotion

Elyas BHY edited this page Mar 23, 2014 · 6 revisions

In order to build and test our app, you need an Android emulator. The AVD (Android Virtual Device) provided by Eclipse is extremely slow, and does not provide support for Google Play Services, which is crucial to our app.
The following tutorial explains how to install and use Genymotion, a better alternative to AVD.

Installing Genymotion

Configuring Genymotion

  • Launch Genymotion (skip creating a new device if prompted)
  • Go to Settings/ADB, select Use custom Android SDK tools, and specify the path to your Android SDK installation

At this point, you have opt for one of the two following alternatives:

  • Pre-configured emulator

    • Download this pre-configured emulator
    • Unizp it in ~/.Genymobile/Genymotion/deployed (Linux) or C:\users\username\AppData\Local\Genymobile\Genymotion\deployed (Windows)
    • Run Galaxy Nexus - 4.2.2 - API 17 - 720x1280.vbox in VirtualBox
    • Once the device is running correctly, you can now close it and start using Eclipse Genymotion.
  • Manual installation

    • In Genymotion, create a new device: Galaxy Nexus - 4.2.2 - API 17 - 720x1280 and launch it
    • Download Genymotion-ARM-Translation_v1.1, then drag & drop it in the emulator and proceed with the installation, then reboot the emulator
    • Download Google Apps for Android 4.2, then drag & drop it in the emulator and proceed with the installation, then reboot the emulator
    • You can now launch the emulator from Eclipse and install Pygmy on the emulator

Configuring the debug keystore

Authorized developers need to use the same SHA1 fingerprint as the one used to sign and authenticate the app. In order to do so:

  • Download this custom debug keystore
  • In Eclipse: Window -> Preferences -> Android -> Build, point towards the previously-downloaded file