AskUIDocs
Devices

Android emulator

A virtual Android device created and managed on this machine, device type, Android version, lifecycle.

An Android emulator profile provisions a virtual Android device on this machine. The app creates it, boots it, and connects it, you never touch avdmanager.

Create it

  1. Add deviceAndroid emulator.
  2. Fill in the fields:
    • Device type: hardware profile: screen size, resolution (select, default Pixel 9)
    • System image: the Android version the device runs (select, default Android 34 · Google APIs)
    • Lifecycle: what Start and Stop do, see below (select, default Persistent)
    • Headless: boot without an emulator window (toggle, default off)
  3. Add device.
The Android emulator profile editor with device type, system image, and lifecycle

Lifecycle decides how long the device lives:

LifecycleOn StartOn Stop
PersistentReuses the existing deviceShuts the emulator down, keeps the device
EphemeralCreates a factory-fresh deviceDeletes the device
Always-onReuses the existing deviceLeaves the emulator running

Persistent is the everyday choice. Ephemeral gives every session reproducible preconditions at the cost of a cold boot. Always-on skips even the shutdown, fastest turnaround, state carries over.

Run it

  1. Start on the profile card boots the emulator and connects it.
  2. Pick the profile in the test's Run on dropdown and press Run.

The card shows each state while Start works:

State on the cardWhat's happeningNotes
Set up phases: Downloading command-line tools… / Unpacking JDK… / Accepting licenses… / Installing emulator… / Downloading system image…One-time tooling bootstrap, only when no Android SDK exists, runs after your consent clickMinutes, once per machine
Creating…Building the virtual deviceFirst Start only, and every Start with an Ephemeral lifecycle
Booting… (· 42s)The emulator is cold-booting; the counter shows elapsed timeFirst boot takes several minutes, later boots are faster. If the emulator crashes on the machine's GPU, Start retries once with software graphics
ReadyBoot completed, device connected, green dotAn emulator that was already running skips straight here, never rebooted

A Start that hangs in Booting… past ~8 minutes times out with an error, the emulator may still come up; Start again reconnects to it.

Testing on a physical phone instead? See Android phone (real device), discovered via USB and added as a profile with one click.

On this page