android emulator command line tasks

to list the available targets:

android list targets

to create emulated device:

android create avd -n <name> -t <targetID>

to retrieve list of installed emulators:

android list avd

to start a emulator:

emulator -avd <name>

to install app on emulator:

adb -e install -r <name>.apk

more at:

http://developer.android.com/tools/devices/managing-avds-cmdline.html

Leave a Reply