DocsPlatforms
Devices, emulators and targets
Find what TapSift can capture from, start a stopped emulator, and wake a sleeping phone.
Before you start
- Android:
adbfrom Platform Tools (--adb PATHif it is not onPATH). TapSift also looks inANDROID_HOME,ANDROID_SDK_ROOTand the usual macOS or Linux SDK location. - Booting an emulator: Android SDK Emulator and an AVD (
--emulator PATHto override). Android Studio does not need to run. - iOS Simulator: macOS with Xcode selected (
--xcrun PATHto override). See iOS Simulator.
Target IDs
| Target | ID | Found with | Actions |
|---|---|---|---|
| Android connection | android:<serial> | adb devices -l | Wake an authorized, booted device |
| Android Virtual Device | avd:<name> | emulator -list-avds | Boot, then resolve its current serial |
| iOS Simulator | ios:<UDID> | xcrun simctl | Boot |
Use the exact ID that targets returns.
Steps
1. List targets:
tapsift targetsThe result is JSON with a targets list and an issues list. Each target has an id, kind (android-device, android-avd or ios-simulator), name, state, and can_boot and can_wake flags. Android devices also carry serial and transport_id. Errors are reported per source, so a missing Xcode does not hide your Android devices.
2. Boot a stopped emulator or simulator:
tapsift boot --target 'avd:Pixel_8_API_35'
tapsift boot --target 'ios:YOUR-SIMULATOR-UDID'Use your own AVD name or UDID. Boot waits up to three minutes (--timeout shortens it) for the device to be ready, not just for ADB to connect.
3. Wake a device:
tapsift wake --target 'android:emulator-5554'Wake sends the Android wake key. It does not unlock the device.
4. In the TUI, press d. Enter on a connected device selects it, and on a stopped virtual device it boots it first, then opens its apps. Esc stops waiting, but a launched device may keep booting. w sends the wake key.
What you should see
targets prints one JSON object. Each Android device you have connected appears with "state":"device". A configured but stopped AVD appears with "state":"stopped" and "can_boot":true. Simulators appear with their runtime and state such as shutdown or booted. Offline and unauthorized devices stay in the list.
Transport versus boot readiness
ADB reports a state of device as soon as the transport connects, before Android has finished booting. TapSift waits for the selected transport and sys.boot_completed=1, then rechecks the emulator's identity. Updated Platform Tools provide a transport ID, which TapSift uses for package lookup, capture and wake, so another emulator that reuses a serial cannot take over.
Active in the device picker means an Android transport is connected or a Simulator is booted. It does not mean Android is ready.
Limits
- Emulator selection needs a usable transport ID. If it is missing, refresh discovery or update Platform Tools.
- Transport IDs belong to the current ADB server. After an ADB restart, refresh and reconnect.
- TapSift does not restart ADB, erase AVDs or unlock devices.
- Live Android emulator startup, iOS Simulator startup, a real ADB server restart and long USB or Wi-Fi drops are not verified. Tests use fake executables.
- Physical iPhone is not available.