How to increase the speed of the Androidvirtual device emulator

How to increase Android Virtual Emulator

I got so many request for this topic
How do I increase the speed of the virtual device emulator in the Eclipse SDK for Android app development?

When we try to run android virtual device (AVD), it is very slow. We can improve speed by doing this below steps.
1. Don’t Run the Emulator in a Virtual Machine – The emulator is a virtual machine, and running a virtual machine in a virtual machine just compounds the problem. If you are developing in a virtual machine, all is not lost, you can still debug against a remote emulator to run the emulator on the host machine.
2. Host GPU – There is an option when creating an Android Emulator Instance (called an AVD or Android Virtual Machine) to use the physical GPU on the host machine instead of emulating it in software. This gives a huge performance boost. So create a new Android Emulator, and make sure to enable Use Host GPU. (Not, this is incompatible with the other performance option of Snapshot, but I’ve found Use Host GPU results in better emulator performance, while Snapshot only speeds up emulator startup.)


3. Recall that the Android platform runs applications inside a VM of its own: the Dalvik VM. As such, the underlying hardware that Android runs on is much easier to change, including the CPU architecture. In fact, there have been devices to ship with an Intel x86 chip instead of the more typical ARM-based chips. Intel has full ported Android over to the x86 architecture.
This matters to Android app developers because it has allowed Intel to distribute emulator system images that are based on the x86 architecture. This alone does not solve the problem of emulator performance, however. In fact, in our testing, by just switching to an x86 system image, a variety of things actually ran slower than when we were using ARM. Until the release of the Intel® Hardware Accelerated Execution Manager (HAXM) driver, that is.
With the Intel® HAXM driver in place, the Android emulator can run the Android system and your apps as fast — or faster — than on physical hardware. The speedup is truly dramatic and returns.
usefulness to the emulator, even running at high resolutions. When combined with GPU emulation — which helps graphical performance only — the emulator can now be used again for day-to-day testing.
4.Otherwise When setting up the AVD, for CPU/ABI choose intel Atom (x86)


One thought on “How to increase the speed of the Androidvirtual device emulator

Leave a Reply

Your email address will not be published. Required fields are marked *