android emulator

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:

  1. Run android emulator create to create a virtual device from a standard hardware profile (such as medium_phone or large_desktop).
  2. Run android emulator list to inspect configured AVDs.
  3. Run android emulator start <device> to launch the virtual device and wait until it finishes booting.
  4. Run android emulator stop to shut down a running emulator instance.