Google Android emulator is too slow and has no interest in development.
After trying Android x86, the running effect is still good.
1. Install
Virtual Box
Android-x86
See: http://androidspin.com/2011/01/24/howto-install-android-x86-2-2-in-virtualbox/
Http://www.android-x86.org/documents/virtualboxhowto
Note: The iso used is a android-x86-2.2-r2-eeepc.iso (officially recommended ).
2.Android Development Tools(ADT) Association.
Using adb with a NAT 'ed VM
- The steps above work nicely if you have a VM which is set up to use Bridged or Host-Only adapters
- However, if you have a NAT 'ed VM you cannot connect to the vm ip from the host
- You will need to set up port forwarding for a host port to be forwarded to the VM port 5555 (which is adb)
VBoxManage modifyvm<VMName>-- Natpf1 adb, tcp, *, <localport>, *, 5555
Example from one machine:
VBoxManage modifyvmFroyo-- Natpf1 adb, tcp, *, 5555, *, 5555
- Once this is done, you shocould see the local port (I. e. 5555 in this case) bound on the host via netstat-
- You can now connect to the VMAdb localhost: 5555
See: http://www.android-x86.org/documents/debug-howto
Note: This step is troublesome.
Running effect:
Android x86
Eclipse ADT running
Running Effect