A. Sidiq Purnomo

Universitas Mercu Buana Yogyakarta

You are here: » How To Speed Up The Android Emulator (For App Developers And Designers)

How To Speed Up The Android Emulator (For App Developers And Designers)

1. Introduction

Pretty much any Android developer has the same complaint: the emulator is slow to start, slower to run and crash program, making app testing very annoying.

There are three ways to speed up the emulator:

  1. Using emulator snapshots for fast startup
  2. Using x86 hardware acceleration on Android images ver. 10 and 15+ (2.3.3 and 4.0.2+)
  3. Using GPU OpenGL acceleration for interface rendering on images ver 14+ (Android 4.x)

2. Alternative 1 : Snapshot

If you use Snapshot to speed up the start, the execution is also very slow, especially when using the debug mode.

3. Alternative 2 : X86 Hardware Acceleration

Android usually runs on ARM architecture, which is very different from x86 architecture of desktop PCs and the emulator has to translate all OS instructions from ARM to x86 for Android to run. So that using an x86 emulator is much faster than the ARM-based emulators.

4. Alternative 3 : Genymotion

Step 1 : Installation

Step 2 : Integration with eclipse

  1. Start the Eclipse IDE.
    • Microsoft Windows : Uncompress eclipse go to eclipse directory and click the eclipse.exe
    • Linux (My OS / Ubuntu) : Uncompress eclipse go to eclipse directory and click the eclipse

    Click the “Help” menu and select “Install New Software ….”.

  2. In the Install Window, click the “Add…” button , and then :

    and then click the “OK” button.

  3. Check “Genymobile”, and then click the “Next >” button.

  4. If you have seen window “Install – Install Details”, click the “Next >” button,

  5. Next put a check list on the “I accept the terms in all of license agreements” to approve the license. Then click the “Finish” button.

  6. The next step wait for the finished installation.

  7. If you have seen window “Security Warning”, click the “OK” button,

  8. After the installation is complete, click the “Yes” button and then restart Eclipse IDE to perform the update.

  9. After restart the Eclipse IDE, you’ll see :

Step 3 : First Start with Genymotion

  1. Click the “Genymotion Virtual Device Manager” button in Eclipse toolbar to open the plugin. If you have seen window “Error while reading setting”, click the“OK”button,
  2. You will need to set path to Genymotion installation directory (given default path only works for standard’s Genymotion installation):
    • Windows: C:\Program Files\Genymobile\Genymotion
    • Linux (My OS / Ubuntu) : /opt/genymotion (if your genymotion installation under /opt directory)

    Click the “Apply” button and then click the “OK” button.

  3. Click again the “Genymotion Virtual Device Manager” icon to prompt the “Genymotion Virtual Device Manager” main window.

Step 4 : Use Genymotion to run Android application

  1. Click the “Genymotion Virtual Device Manager” icon and start the virtual device you want to use (ex : Nexus – 4.2.2 – API 17 – 480×800).

  2. Close the “Genymotion Virtual Device Manager” main window.

  3. Click your application project (ex : Project1), and then click the “Run Project” icon and chose “Run As > 1. Android Application”.


5. References :

Download PDF version

Print Friendly, PDF & Email
Posted by 0 Responses
 

Free Email Newsletter

Stay Updates with this Blog. Get Free email newsletter updates..

And then confirm your email subcription

   

No Comment to “How To Speed Up The Android Emulator (For App Developers And Designers)”

  1. No Comment yet. Be the first to comment...
Leave your comment here:

Secure * Time limit is exhausted. Please reload the CAPTCHA.

Dec
5
2013
 


Popular Posts