Skip to content

Selecting Android Device

Both run and test deploy to an Android device or emulator using the --device option.

If --device is omitted, scd requires exactly one connected device or running emulator — it fails if there are none or more than one connected.

To target a specific device, pass its ID or name:

Terminal window
scd run --platform android-arm64-v8a --device emulator-5554

If the given name doesn’t match a connected device, scd looks for an AVD (Android Virtual Device) with that name and automatically starts an emulator for it:

Terminal window
scd run --platform android-arm64-v8a --device Pixel_6_API_33

Use scd simulators-list to see connected devices and available AVDs.