Connect an Android Device
ZKite uses the standard Android Debug Bridge (adb) to discover target devices, install runtime previews, and stream development logs.
1. Enable Developer Options & USB Debugging
Section titled “1. Enable Developer Options & USB Debugging”On your physical Android phone:
- Open Settings > About Phone.
- Tap Build Number 7 times until you see the prompt “You are now a developer!”.
- Go back to Settings > System (or Developer options).
- Turn on USB Debugging.
- (Optional but recommended): Enable Stay Awake while charging to keep the screen active during development sessions.
2. Connect and Authorize USB Debugging
Section titled “2. Connect and Authorize USB Debugging”- Plug your phone into your computer using a quality data cable (a charging-only cable will not show data transport).
- Unlock your phone.
- A modal dialog will appear on your phone:
Allow USB debugging? Computer’s RSA key fingerprint:
xx:xx:... - Check “Always allow from this computer” and tap Allow.
3. Verify Connection in the Terminal
Section titled “3. Verify Connection in the Terminal”Run the following command in your terminal:
adb devicesYou should see your device listed as device:
List of devices attached35291FDJ2000AB device4. Selecting Multiple Devices
Section titled “4. Selecting Multiple Devices”If you have both a physical phone and an emulator running simultaneously:
# Explicitly choose target device using its serial IDzkite dev --serial 35291FDJ2000AB
# Or set an environment variableexport ANDROID_SERIAL=35291FDJ2000AB