boot_emulator
Boot an Android Virtual Device by name and get its device serial once fully started. Returns emulator-5554-style ID for subsequent adb commands, waiting for complete boot.
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. |