emulator -help
, or consult the
Android Emulator
page on the Android Developers' site.
Environment variable substitution can be used for these command line options, in the format: ${VARIABLE_NAME} or $VARIABLE_NAME.
For example, if you want your emulator to have a larger-than-default /data partition, allowing you to install large APKs, then you could enter:-partition-size 128
Options which cause the emulator to create files, for example the -tcpdump
option,
should be given an absolute filename, e.g.-tcpdump ${WORKSPACE}/network.cap
-netdelay gprs -tcpdump "/tmp/emulator captures/${JOB_NAME}_${BUILD_ID}.cap"