Skip to content
emumanager logo

Android Emulator Manager

emumanager

Manages Android SDK, emulators, and AVDs. Use when bootstrapping Android SDK, creating/starting/stopping AVDs, downloading system images, or troubleshooting emulator issues. Supports mobile, Wear OS, TV, and Automotive devices. Covers sdkmanager, avdmanager, emulator CLI. Triggers: android emulat...

SKILL.md

Full skill instructions

Android Emulator Manager

Important: Use Script First

ALWAYS use scripts/​emumanager over raw sdkmanager, avdmanager, or emulator commands. The script is located in the scripts/ subdirectory of this skill's folder. It provides features that raw commands do not:

  • Automatic system image selection for device types (--mobile, --wear, --tv)
  • Boot completion detection with timeout
  • Sensible defaults and helpful error messages
  • Diagnostics via doctor subcommand

When to read the script source: If the script doesn't do exactly what you need, or fails due to missing dependencies, read the script source. It encodes solutions to SDK quirks and boot detection edge cases—use it as reference when building similar functionality.

Quick Start

Environment Variables

export ANDROID_HOME="${ANDROID_HOME:-$HOME/​.local/​share/​android-sdk}"
export ANDROID_USER_HOME="${ANDROID_USER_HOME:-$HOME/​.android}"

Prerequisites

  • Java 17 or higher
  • Hardware acceleration: KVM on Linux, HVF (Hypervisor Framework) on macOS
  • Network access for downloading SDK components

Highest-Value Commands

# First-time setup (installs cmdline-tools, platform-tools, build-tools, emulator)
scripts/​emumanager bootstrap

# Diagnose issues (Java version, hardware acceleration, disk space)
scripts/​emumanager doctor

# Create a mobile/​phone AVD with latest API
scripts/​emumanager create my_phone --mobile

# Start the AVD
scripts/​emumanager start my_phone

# List all AVDs (shows running status)
scripts/​emumanager list

# Show detailed AVD information
scripts/​emumanager info my_phone

Subcommand Overview

bootstrap

Set up SDK environment. Installs cmdline-tools, platform-tools, build-tools, emulator, and a platform.

scripts/​emumanager bootstrap
scripts/​emumanager bootstrap --no-emulator  # Skip emulator installation

doctor

Run diagnostics to check for common issues: Java version, hardware acceleration, SDK tools, disk space, orphaned AVD files.

scripts/​emumanager doctor

list

List all available AVDs with running status.

scripts/​emumanager list              # Show all AVDs with status
scripts/​emumanager list --names-only # Just AVD names
scripts/​emumanager list --running-only
scripts/​emumanager list --stopped-only

info

Show detailed information about an AVD: system image, API level, screen config, RAM, storage, Play Store status.

scripts/​emumanager info my_phone

create

Create a new AVD with device type or specific image.

scripts/​emumanager create my_phone --mobile   # Mobile/​phone (default)
scripts/​emumanager create my_watch --wear     # Wear OS
scripts/​emumanager create my_tv --tv          # Android/​Google TV
scripts/​emumanager create my_car --auto       # Android Automotive

# With specific system image
scripts/​emumanager create my_avd "system-images;android-36;google_apis_playstore;arm64-v8a"

start

Start an AVD. Waits for boot to complete.

scripts/​emumanager start my_phone              # Quick Boot (fast)
scripts/​emumanager start my_phone --cold-boot  # Cold boot (bypass snapshots)
scripts/​emumanager start my_phone --wipe-data  # Factory reset + cold boot

stop

Stop a running AVD.

scripts/​emumanager stop my_phone

delete

Delete an AVD and clean up files. Stops the AVD first if running.

scripts/​emumanager delete my_phone

download

Download a specific system image.

scripts/​emumanager download "system-images;android-36;google_apis_playstore;arm64-v8a"

images

List available system images for the host architecture (API level >= 33). Installed images are marked with *.

scripts/​emumanager images

outdated

Show outdated SDK packages.

scripts/​emumanager outdated

update

Update all installed SDK packages to latest versions.

scripts/​emumanager update

Device Types

The create command supports device type flags that automatically select the latest appropriate system image for the host architecture:

FlagDevice TypeSystem Image Pattern
--mobile/--phoneMobile/​Phonegoogle_apis_playstore
--wear/--watchWear OSandroid-wear / android-wear-signed
--tvAndroid/​Google TVandroid-tv / google-tv
--autoAutomotiveandroid-automotive-playstore

If no device type or image is specified, defaults to mobile/​phone.

Start Mode Options

ModeFlagDescription
Quick Boot(default)Fast startup using snapshots
Cold Boot--cold-bootBypass Quick Boot, perform full boot
Factory Reset--wipe-dataWipe all data and cold boot

Common Workflows

First-Time Setup

scripts/​emumanager bootstrap
scripts/​emumanager doctor

Creating and Running a Phone Emulator

scripts/​emumanager create my_phone --mobile
scripts/​emumanager start my_phone

Creating a Wear OS Emulator

scripts/​emumanager create my_watch --wear
scripts/​emumanager start my_watch

Factory Resetting an AVD

scripts/​emumanager start my_phone --wipe-data

Checking for SDK Updates

scripts/​emumanager outdated
scripts/​emumanager update

Safety Notes

  • Script requires Java 17+ to run SDK tools
  • Hardware acceleration (KVM/​HVF) is required for x86_64/​arm64 emulators
  • System image downloads can be several GB
  • Some operations require network access
  • The script avoids destructive actions unless explicitly requested
  • Use ANDROID_SERIAL environment variable when multiple emulators are running

Reference Documentation

  • references/​command-index.md - Detailed subcommand reference
  • references/​troubleshooting.md - Common issues and solutions

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View