Saturday, August 27, 2011

Making the Android emulator [slightly] faster

I don't usually start the Android emulator from Eclipse - instead I use a bash script that has a few features enabled that the AVD Manager in Eclipse doesn't seem to support.

#/bin/bash
nohup emulator -cpu-delay 0 -no-boot-anim -cache ./cache -avd TestDevice &


This enables (sort of) persistent caching of the Emulator (make sure -cache is set to a location that sticks around!), disables any CPU throttling and disables the boot animation.

No comments:

Post a Comment