Start an Android emulator. Use when you need to launch an AVD for testing.
Start an Android emulator (AVD) with quick boot or cold boot option.
Script location: scripts/start-emulator.sh (relative to this skill's
directory)
Before running, locate this skill's directory (where this SKILL.md is located), then execute:
bash <skill-directory>/scripts/start-emulator.sh [avd_name] [boot_type]
Arguments:
avd_name (optional): The name of the AVD to startboot_type (optional): "quick" (default) or "cold"{
"success": true,
"message": "Emulator started",
"avd": "Pixel_6_API_33",
"cold_boot": false
}
{
"success": true,
"action": "select_emulator",
"emulators": ["Pixel_6_API_33", "Pixel_4_API_30"]
}
{
"success": false,
"error": "no available emulator",
"hint": "Create an AVD using Android Studio or avdmanager"
}
IMPORTANT: ALWAYS ask the user about boot type before launching. Never skip this step.
Determine emulator:
Ask boot type (REQUIRED - never skip): Use AskUserQuestion to ask
"Quick boot or cold boot?"
Launch: Run script with avd_name and boot_type arguments
Report result: Inform user the emulator is starting or show error