Skip to main content

Boot

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Start an Android emulator by its AVD's name, or an iOS simulator by its name or UDID, and wait until it has booted — adb sees it and Android says boot completed, or simctl's boot status returns — answering with its serial or UDID. These call app_boot.

Boot​

public IDictionary<string, object?> Boot(string name, bool window = false)

Starts an Android emulator by its AVD's name, or an iOS simulator by its name or UDID, and returns once it has booted: device (its serial or UDID), name, platform, and already when it was running. An emulator cold-boots headless unless window.

Examples​

Boot an emulator by its AVD's name, and wait until it is up​

var booted = device.Boot("mobium-test");
Console.WriteLine(booted["device"]);