Header Ads

Setup Genymotion Android Emulator in Linux

What is Genymotion ?

Genymotion is the fastest Android emulator for app testing and presentation. Genymotion is the evolution of AndroVM open source project, already trusted by 300 000 developers. Here I am using 64 bit Ubuntu 13.04 for using Genymotion. Here we are going to setup Android 4.2.2 on a Linux system using Genymotion. To setup Genymotion in Windows go to

Features of Genymotion:

1.Fastest Android emulator on the planet.
2.Do your simultanous automatic tests on unlimited virtual appliances .
3.Directly launch Genymotion from your Eclipse and Android Studio platforms.
4.It has Open GL acceleration ,multiscreen and full screen display.

Instructions to setup Genymotion in Linux:

1.Go to http://www.genymotion.com/ and sign up.
2.After logging in download genymotion for linux from the following link.
https://cloud.genymotion.com/page/launchpad/download/
3.Download and install virtualbox for linux from the following link.
https://www.virtualbox.org/wiki/Downloads
4.Navigate to the Genymotion downloded location via terminal.
5.Then enter the following commands in the terminal
chmod +x genymotion-1.1.0_x64.bin
./genymotion-1.1.0_x64.bin

genymotion for linux, genymotion for ubuntu, eclipse genymotion


Then press y. Now Genymotion will be installed in your linux system.
6.To use Genymotion navigate to the Genymotion installation folder via terminal. Then enter the following code in the terminal.
./genymotion

7.Now login with your Genymotion username and password. Click add from the Genymotion home screen.
8.Select a virtual device from the Genymotion cloud and sect Add.
genymotion for linux, genymotion for ubuntu, eclipse genymotion
9.Then click  next. Now the virtual device begins downloading.
genymotion for linux, genymotion for ubuntu, eclipse genymotion
10.After successful download select next from the window.
genymotion for linux, genymotion for ubuntu, eclipse genymotion
11.Then you will be asked to enter a name for the downloaded Genymotion virtual device. Enter a name and select create and the click finish.
12.Now the virtual device will be listed in “Your virtual devices” in the home screen.
13. Then select play to start your virtual device.For the first time it asks to configure sdk path for using ADB , select the sdk path and you will be booted to Android home screen.
Here are some of the screenshots of Genymotion Android emulator running in my 64 bit Ubuntu Linux 13.04.
genymotion for linux, genymotion for ubuntu, eclipse genymotion
genymotion for linux, genymotion for ubuntu, eclipse genymotion

Configure Genymotion with Android Studio:

1.Download genymotion-idea-plugin-20130716.jar plugin from the linkhttp://plugins.genymotion.com/plugins/idea/1.0.1/genymotion-idea-plugin-20130716.jar
2.Open Android Studio IDE
3.Open File->Settings and the IDE Settings->Plugins
4.Choose Install plugin from disk and choose the genymotion-idea-plugin-20130716.jar

genymotion for linux, genymotion for ubuntu, eclipse genymotion


5.Now Apply Changes
6.In Android Studio select Run->Edit configurations
7.Select Target device as Show chooser dialog.
genymotion for linux, genymotion for ubuntu, eclipse genymotion
8.Now you can test your Application in Genymotion by choosing Genymotion from the Choose Device dialog while running your Application.
genymotion for linux, genymotion for ubuntu, eclipse genymotion

Configure Genymotion with Eclipse IDE:

1.Open Eclipse and select Help->Install New Software.
2.Enter the URL http://plugins.genymotion.com/eclipse and hit Enter
3.Genymobile will be shown, select it and click next.
4.Genymotion Eclipse Plugin will be downloaded and installed.
5.Now restart Eclipse IDE the plugin will be active.
6.Now you can run your apps developed in eclipse in Genymotion Android Emulator.
Cheers, Enjoy 🙂

No comments