Why Android Emulator is slow and how make it as faster?


Are you new to Android Emulator? Is android emulator slow? Are you want to make android emulator as faster?
Actually android emulator is really slow. Some time you may think that application is slow. But that same application runs in real device (phone,tablet,…) as good fast.
We can increase that speed of android emulator. For that, we have to install some SDK tools and have to change somethings. Just do following,

Why Android Emulator is slow and how make it as faster?
For Windows:

1) Install SDK Tools
Just install following tools,
1. Intel x86 Atom System Image
2. Intel Atom x86 System Image
3. Intel Hardware Accelerated Execution Manager
Driver ( HAXM )
If you not having above tools, just download from net.
Why Android Emulator is slow and how make it as faster 1- steptoinstall.com
Refer above image for more. We can install Intel Hardware Accelerated Execution Manager Driver ( HAXM ) by using ‘IntelHaxm.exe’. This file is located in any one of the following locations,
<Drive>:\Program Files\Android\android-sdk\extras\intel\Hardware_Accelerated_Execution_Manager
<Drive>:\Users\\adt-bundle-windows-x86_64\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
Any problem with above installation just refer Intel Virtualization Technology.
2) Create new AVD
Have to create a new Virtual Device Manager (AVD). Follow the below image,
Why Android Emulator is slow and how make it as faster 2 - step to install
3) Device RAM Size
Increace the ‘Device ram size’ as 512 or above.
4) GPU emulation or Snapshot option
We can’t use the Snapshot option when using GPU emulation is Enabled. Ensure that GPU emulation is set to “yes”. Sometime you can enable Snapshot without set GPU emulation.
5) Create emulator.bat
We can create emulator.bat using below command line for Windows,
emulator.exe -cpu-delay 0 -no-boot-anim -avd avd

Notes:
1. Use can GenyMotion Android Emulator for fast.
2. You may try with ‘Disable Antivirus’. Maybe this will make Android Emulator as a little bit faster.

For Mac OS:

Why Android Emulator is slow and how make it as faster on Mac
Nothing different. Just follow the same steps, what given for Windows.
5th step only have to change,
emulator -cpu-delay 0 -no-boot-anim -avd

For Linux:

1) KVM
You have to Install KVM.
2) Creat new AVD
Have to create a new Virtual Device Manager (AVD).
3) Run CMD
Just run following command line,
emulator -avd avd_name -qemu -m 512 -enable-kvm
4) From Eclipse:
Run/Run Configurations/Tab “Target” – > check Intel x86 AVD
and
“Additional Emulator Command Line Options” => -qemu -m 512 -enable-kvm
then click, Run.
Why Android Emulator is slow and how make it as faster on Linux
5) Create emulator.bat
We can create emulator.bat using below command line for Linux,
emulator -cpu-delay 0 -no-boot-anim -avd

0 comments: