Wednesday, June 8, 2016

Speed Up Android Emulator Misc Methods

I've noticed that the emulator starts much faster if there's no Dalvik Debug Monitor Server (DDMS) connected. So if you start the emulator from Virtual Device Manager "SDK Setup.exe" and Eclipse is not started, the emulator works faster.
If you start the emulator from Eclipse: DDMS is there, so sometimes the emulator is extremely slow, but sometimes it's faster.
***********************************************************
You can create emulator.bat with following command to start the emulator. It will start faster.
emulator.exe -cpu-delay 0 -no-boot-anim -avd avd
Or on Unix (Mac or Linux flavors):
emulator -cpu-delay 0 -no-boot-anim -avd <avd name>

************************************************************

No comments:

Post a Comment