Android Studio Device Offline or Not Detected (ADB)
Quick answer
When your phone shows offline, unauthorized or does not appear, restart the ADB server, re-enable USB debugging, accept the RSA prompt and check the cable and USB driver.
Most likely fix: Use the Connection Assistant
How to fix it
Try these in order — the most common fix is first.
1. Use the Connection Assistant
- Tools > Troubleshoot Device Connections
- Follow the steps, then click Restart ADB server on the last page
Did this fix it?2. Re-enable USB debugging and authorization
- On the phone open Settings > Developer options > USB debugging; if you can't see Developer options, tap Build number 7 times
- Run 'Revoke USB debugging authorizations', unplug and replug
- Accept the 'Allow USB debugging?' dialog on the phone
Did this fix it?3. Restart ADB
- Run adb kill-server then adb start-server
- Run adb devices and check the state
Did this fix it?4. Check cable, port and drivers
- Try a data-capable cable and another USB port
- On Windows install your OEM USB driver (see developer.android.com/studio/run/oem-usb)
- Update Platform Tools in SDK Manager
Did this fix it?5. Linux: groups and udev
- Run sudo usermod -aG plugdev $LOGNAME and log out and in
- Install udev rules: sudo apt-get install android-sdk-platform-tools-common
Did this fix it?6. Use wireless debugging
- On Android 11+ enable Wireless debugging in Developer options
- In Android Studio choose Pair Devices Using Wi-Fi from the run configurations menu and scan the QR code
Did this fix it?
Symptoms
Your phone does not appear in the device list, adb devices shows 'offline' or 'unauthorized', or Android Studio says no devices found.
Why it happens
- USB debugging off or the RSA debugging prompt was not accepted
- Charge-only USB cable or wrong USB mode
- Missing OEM USB driver on Windows
- Stale ADB server or version mismatch
- Missing plugdev group or udev rules on Linux
This guide also covers
- android studio device offline
- adb device not detected
- android studio no devices found
- adb unauthorized fix
Still not working?
If Android Studio keeps failing, you're not alone. See every Android Studio problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All not loading, error messages & connection guides →
- IntelliJ IDEA JDK Not Found or Invalid (JetBrains IntelliJ)
- Cursor High Load Error (ERROR_RESOURCE_EXHAUSTED) (Cursor)
Other Android Studio errors
- Android Studio Gradle Sync Failed
- Android Studio Emulator Not Starting
- Android Emulator HAXM / Hypervisor Error (VT-x, WHPX, AEHD)
- Android Studio Emulator Slow or Laggy
- Android Studio Slow and Using Too Much RAM
- Android Studio Gradle Build Slow
- Android Studio SDK Location Not Found
- Android Studio Build Failed: JDK, Gradle or AGP Version Mismatch