android
device_error
ai_generated
true
adb: device unauthorized. Please check the confirmation dialog on your device.
ID: android/adb-device-unauthorized
90%Fix Rate
92%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| any | active | — | — | — |
Root Cause
ADB cannot communicate with device. USB debugging not enabled or RSA key not accepted on device.
genericWorkarounds
-
95% success Accept USB debugging prompt on the device screen
Unlock phone screen > tap 'Always allow from this computer' > OK
Sources: https://developer.android.com/build/
-
92% success Enable USB debugging in Developer Options
Settings > About Phone > tap Build Number 7 times > Developer Options > USB debugging
-
85% success Revoke and re-authorize USB debugging authorizations
adb kill-server && Settings > Developer Options > Revoke USB debugging authorizations > reconnect
Dead Ends
Common approaches that don't work:
-
Restart adb server repeatedly
72% fail
If the device has not authorized the computer, restarting adb will not help
-
Use a different USB cable assuming it is a cable issue
80% fail
Unauthorized error is an authentication issue, not a connectivity issue. The device IS connected.