Sunday, October 25, 2015

How to make android emulator run faster?

Android emulator running too slow? this is main problem when develop android application :-). I always trying to find other solution rather than using original google android emulator.

After do some googling and learn little about virtualization technology, I got little knowledge how to run android emulator using intel virtualization technology (VT) this feature must be activated through BIOS.

We need to access bios and activate intel virtualization technology, keep in mind that not all processor and motherboard support intel virtualization technology. But if intel virtualization technology exist in your bios setting you can use it to run android emulator using x86 image.

If your processor and motherboard support intel virtualization technology install haxm through android sdk manager


But if your computer doesn't support inter haxm don't worry just skip haxm installation step, then go to android sdk installation folder and goto extra/intel/Hardware_Accelerated_Execution_Manager then install using silent_install.bat must be using command prompt with administrator mode:
D:\SDK\android-sdk-windows\extras\intel\Hardware_Accelerated_Execution_Manager>silent_install.bat -m 512
-m parameter is memory will be used by haxm manager, don't use memory more than 1024MB, after installation succes you will get message in command prompt will return success message.

Next step install image x86 both, x86 image system and x86 google api image system.


Then setup your android virtual device (AVD), setup using one of x86 image system, don't forget to Use GPU Host


That's it, and let you got fast android emulation.

No comments:

Post a Comment