How to Fix the ADB Device Unauthorized Error on Android

If adb devices lists your Android phone as unauthorized, the computer can see the device but has not been approved to use ADB with it. The fastest fix is to unlock the phone, reconnect it, and accept the Allow USB debugging? RSA prompt. If that prompt never appears, revoke existing USB debugging authorizations, restart ADB on the computer, and reconnect.

This is an ADB authorization problem, not a sign that your phone must be rooted or that its bootloader must be unlocked. Google documents the RSA confirmation prompt as a security protection on Android 4.2.2 and later. See the official Android Debug Bridge documentation.

What “ADB device unauthorized” means

Run this command from a terminal or Command Prompt where ADB is available:

adb devices

A working USB connection should show a device serial followed by device. If the same serial is followed by unauthorized, Android has not accepted the ADB host key for that computer yet.

Android Allow USB debugging dialog showing an RSA fingerprint and the Allow button
Unlock the phone and approve the computer when Android displays the USB debugging RSA prompt.

Fix the ADB unauthorized error

1. Unlock the phone and look for the USB debugging prompt

Keep the phone unlocked while it is connected. If Android shows Allow USB debugging?, verify that you recognize the computer and tap Allow. On a computer you personally control, you can also select Always allow from this computer so Android remembers that host key.

If there is no prompt, continue with the reset steps below.

2. Revoke old USB debugging authorizations

Open Settings > Developer options. On many current Android devices, Developer options is under Settings > System, although manufacturers can place or name it differently. Google notes that Android 4.2 and later hides Developer options until you enable it.

  1. Turn USB debugging off.
  2. Tap Revoke USB debugging authorizations (the wording may vary slightly by device).
  3. Confirm the reset.
  4. Turn USB debugging on again.

The official Developer options guide explains where USB debugging is located on different Android versions.

Android Developer options screen with USB debugging enabled and Revoke USB debugging authorizations visible
Revoking USB debugging authorizations forces Android to ask this computer for approval again.

3. Restart the ADB server on the computer

Disconnect the phone, then run these commands one at a time:

adb kill-server
adb start-server

Google recommends restarting the ADB server when the connection becomes unresponsive. You can also run adb devices after adb kill-server; any subsequent ADB command can start the server again.

Windows terminal showing adb kill-server, adb start-server, and an unauthorized device in adb devices output
Restarting the local ADB server clears a stale host-side connection before you authorize the phone again.

4. Reconnect with a data-capable USB cable

Reconnect the phone directly to the computer, preferably without a hub. Keep the screen unlocked and watch for the RSA authorization dialog. Tap Allow when it appears.

You do not normally need to switch between “File transfer” and “Photo transfer” just to authorize ADB. USB debugging is the important setting. However, if the computer does not detect the phone at all, try another known-good data cable or USB port. Google’s hardware-device troubleshooting guide also recommends testing another cable when a device is not detected.

5. Verify the device is authorized

Run:

adb devices -l

The status should now be device, for example:

List of devices attached
R9CT304B7K    device
Android phone connected by USB to a Windows laptop with adb devices showing device status
When authorization succeeds, ADB lists the phone with the status “device” instead of “unauthorized.”

If the phone still shows unauthorized

Work through these checks before changing anything more invasive:

  • Update SDK Platform-Tools. Google recommends using the latest Platform-Tools because current ADB releases remain backward compatible with older Android versions. Get them through Android Studio’s SDK Manager or the official SDK Platform-Tools page.
  • Restart the phone and computer. Then repeat the revoke-and-authorize sequence with the phone unlocked.
  • Check Windows USB drivers. If Windows does not properly expose the phone to ADB, install the manufacturer’s driver. Google maintains an official OEM USB driver directory. Google devices on Windows use the Google USB Driver.
  • Distinguish authorization from detection. If adb devices shows no serial number at all, troubleshoot the cable, USB port, driver, or Linux device permissions first. That is different from an unauthorized status.

Why revoking authorization works

ADB uses a host key to identify the computer. Android asks you to approve that key before allowing debugging commands. Revoking USB debugging authorizations clears previously trusted computers on the device, so the next connection can establish a fresh authorization. That is why the reset is more reliable than changing the phone’s ordinary USB file-transfer mode.

Leave a Comment

Add a Date and Time Stamp to Photos on Your Android Phone

Add a Date and Time Stamp to Photos on Your Android Phone

Learn how to add a visible date and time to new or existing Android photos with your camera's watermark setting or Google Photos Markup.

How to Screenshot on Android Devices: Buttons and Gestures

How to Screenshot on Android Devices: Buttons and Gestures

Learn how to screenshot on Android with button shortcuts, scrolling captures, and Pixel, Samsung, and Motorola gestures, plus where to find and share images.

How to Root Older Android Devices With Framaroot in a Few Taps

How to Root Older Android Devices With Framaroot in a Few Taps

Learn how Framaroot rooted compatible older Android phones, what to check before installing its APK, and why it rarely works on newer devices.

Search Now for Android: Search Your Phone or the Web From Anywhere

Search Now for Android: Search Your Phone or the Web From Anywhere

See how the classic Search Now app used a floating search button for on-device and web searches, why its Play Store listing is gone, and what works today.

How to Enable or Disable Facebook Profile Picture Login

How to Enable or Disable Facebook Profile Picture Login

Learn how to turn Facebook profile picture login on or off, remove saved sign-ins on iPhone or Android, and find the current Saved login settings.

How to Use Google Lens to Identify Objects in Photos

How to Use Google Lens to Identify Objects in Photos

Learn how to identify plants, products, books, and other objects in photos with Google Lens on Android, iPhone, or a computer—and improve uncertain matches.

How to Remove a Hat, Gloves, and Backpack From Your Pokémon GO Avatar

How to Remove a Hat, Gloves, and Backpack From Your Pokémon GO Avatar

Remove your Pokémon GO avatar’s hat, gloves, and backpack using the Style menu. Follow the steps and fix missing no-item options without spending PokéCoins.

Firmware, Stock ROMs, Custom ROMs, and Flashing Explained

Firmware, Stock ROMs, Custom ROMs, and Flashing Explained

Understand what firmware and ROM mean on Android, how stock and custom ROMs differ, what flashing changes, and which risks to check before installing an image.

How to Install CyanogenMod 7.1 RC1 on the Motorola CLIQ XT

How to Install CyanogenMod 7.1 RC1 on the Motorola CLIQ XT

Learn what you need to install CyanogenMod 7.1 RC1 on the Motorola CLIQ XT, back up the MB501, flash the matching ZIPs, and avoid unverified files.

Install Android 2.3 Gingerbread Keyboard Language Packs Safely

Install Android 2.3 Gingerbread Keyboard Language Packs Safely

See what Android 2.3 Gingerbread keyboard language packs supported, how to verify a compatible ZIP, back up your phone, and avoid unsafe recovery flashes.