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 device → Android 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.

Set up fails with "Install did not complete" — open Settings → Machine → Android SDK. The Dependencies list shows every piece the emulator needs, which version was found and where it lives, so you can see which one is the problem. A piece that is there but cannot be used says why: a Java older than 17, a JRE rather than a full JDK, or on Windows a Java under a folder with parentheses such as C:\Program Files (x86)\…, which the Android tools' scripts cannot read. A piece that was never installed says where Set up will put it.

The JDK row lets you choose Installed or Downloaded. Pick Downloaded and the app fetches its own JDK into the SDK folder and uses only that one, leaving the Java installed on your machine untouched. Then press Set up on the card, which installs whatever is missing.

Rebuilding the Android SDK from scratch — the same card has Delete…. It removes the whole SDK folder, including the JDK inside it and the emulators created from it, whether or not AskUI installed them; the confirmation shows the exact folder. Afterwards every row reads not installed and Set up rebuilds it. A running setup can be stopped from the setup dialog; what was already downloaded is kept and the next Set up carries on from there.

Start says the emulator already exists but cannot be used — the emulator's system image is usually missing, and the card offers Set up to download it, after which the emulator works again unchanged. If the image is there and Start still refuses, the error offers Replace emulator…: it deletes that emulator, including everything installed on it, creates a new one and starts 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