Android Setup
Prerequisites
Section titled “Prerequisites”- Android SDK installed (via Android Studio or standalone)
adbavailable on your PATH
Enable USB debugging
Section titled “Enable USB debugging”- On your device, go to Settings > About phone
- Tap Build number 7 times to enable Developer options
- Go to Settings > Developer options
- Enable USB debugging
- Connect via USB and accept the debugging prompt
Verify
Section titled “Verify”adb devicesExpected output:
List of devices attachedXXXXXXXXX deviceThen confirm MobileCLI sees it:
mobilecli devicesUsing an emulator
Section titled “Using an emulator”emulator -avd <avd_name>The emulator appears as a connected device automatically.
Troubleshooting
Section titled “Troubleshooting”Device shows as “unauthorized”
Section titled “Device shows as “unauthorized””Disconnect and reconnect USB. Accept the debugging prompt on the device. If the prompt doesn’t appear, revoke USB debugging authorizations in Developer options and reconnect.
Device not detected
Section titled “Device not detected”- Check USB drivers (Windows)
- Try a different cable or port
adb kill-server && adb start-server