boot_emulator
Boot an Android Virtual Device (AVD) by name and return its device serial for use with other tools. Waits for full boot completion by default, supports cold boot and data wipe options.
Instructions
Boot an AVD by name and return its device serial (e.g. emulator-5554). Launches the emulator detached so it outlives this call, and waits for full boot (sys.boot_completed) by default. Use the returned serial for later tools if you boot more than one device. Booting can take 30-120s on a cold start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avd | Yes | AVD name to boot (see list_avds). | |
| timeout_s | No | Boot timeout in seconds. Default 180. | |
| wipe_data | No | Factory-reset the AVD on this boot (-wipe-data). Default false. Use to start from a pristine device. | |
| no_snapshot | No | Cold boot without loading a saved snapshot. Default true. | |
| wait_for_boot | No | Wait until fully booted before returning. Default true. |