Manages Android Virtual Devices (AVDs). Includes commands to start, stop, list, and view details about emulators.
Usage
android emulator [-h]
Options
-h,--help- Shows the help message for the specified command.
android options:
--sdk=PARAM- Path to the Android SDK.-v,--verbose- Enable verbose output for troubleshooting.-V,--version- Print version information and exit.
Subcommands
create- Creates a virtual device.list- Lists available virtual devices.remove- Deletes a virtual device.start- Launches the specified virtual device. This command returns when the emulator is fully started and ready to use.stop- Stops the specified virtual device.
Description
The android emulator command set creates, inspects, launches, stops, and deletes Android Virtual Devices (AVDs) from the command line.
Typical workflow
Here is the sequence of commands for a typical workflow:
- Run
android emulator createto create a virtual device from a standard hardware profile (such asmedium_phoneorlarge_desktop). - Run
android emulator listto inspect configured AVDs. - Run
android emulator start <device>to launch the virtual device and wait until it finishes booting. - Run
android emulator stopto shut down a running emulator instance.