Slow Android Emulator? Here is the alternative for a fast Android Emulator

  • Friday, April 4, 2014
Well, I too experienced this problem on my Core 2 Duo Laptop while I was trying to develop an android application at first. But, at some point I hate the emulator and Android AVD stuff and googled for fastest options. And viola I found Genymotion -  an Android emulator that works on top of VirtualBox.
  1. Installing Genymotion on your system
  2. Installing Genymotion plugin in Eclipse

Installing Genymotion on your System

First sign up for an account(it's free) at www.genymotion.com and then go through the registration process and then download the emulator suiting your Operating System. There are emulators for both Windows and Linux since they were built on VirtualBox and Qt.

If you're a Windows user and you don't know about VirtualBox or if you don't have VirtualBox installed just download Windows 32/64 bits (with VirtualBox) version. And that will do all of the prerequisites for you. But, in case if you're a Linux user, install VirtualBox first and then try to download Genymotion software.

Genymotion Add new Virtual Device
Genymotion Add new Virtual Device
After you've downloaded, you need to sign in and then just click the plus button (shown in the image above) to add a new virtual device. Select an option from the list of available AVDs. And then go through the process and Genymotion will fetch the download files from the internet [120MB approx.].

Installing Genymotion plugin in Eclipse

So, after you have downloaded the necessary files, test your emulator by clicking Play button. It may take some time to load the new emulator depending on your hardware but faster than the in-built Android emulator. So, here are the steps to debug your android application from Eclipse.
Genymotion Eclipse plugin setup
Genymotion Eclipse Add new plugin setup
  1. Open up Eclipse and then navigate to Help->Install new Software.
  2. Click the Add button and then enter "Genymotion Plugins" at the Name field and then enter "http://plugins.genymotion.com/eclipse" in the Location field.
  3. Hit OK and then within a moment the plugins will be listed and then do the as usual installation process.
  4. Restart the Eclipse and you're one step away from debugging your Android application through Genymotion.
  5. After restarting Eclipse you may see a Genymotion logo-ed icon and that will give you list of Genymotion AVDs online and offline. You can start anyone of them.
  6. When AVD is ready, right-click on your project and then click "Run As" followed by "Android Application".
That's it. Your application will now run in your Android AVD. If you experience some problems, comment below.

No comments:

Post a Comment