Android Emulator on Ubuntu 12.04#

http://cordova.apache.org/docs/en/2.9.0/guide_getting-started_android_index.md.html#Android%20Platform%20Guide http://developer.android.com/tools/devices/emulator.html

Emu Slow#

This was slow. Here’s how to make it fast.

http://software.intel.com/en-us/blogs/2012/03/12/how-to-start-intel-hardware-assisted-virtualization-hypervisor-on-linux-to-speed-up-intel-android-x86-gingerbread-emulator

sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
sudo adduser $(id -un) kvm
sudo adduser $(id -un) libvirtd
LD_LIBRARY_PATH=/home/felix/apps/adt-bundle-linux-x86_64-20130522/sdk/tools/lib ~/apps/adt-bundle-linux-x86_64-20130522/sdk/tools/emulator-x86 -avd test -qemu -m 2047 -enable-kvm