How to Resolve When ADB Devices Shows Unauthorized Device?
In this article, we see an error that occurs on the ADB tool while connecting the laptop/pc with android. Android Debug Bridge is used for the connect pc with the android device and using ADB we can control the android device using our pc. For more information about Android Debug Bridge follow this article. These Unauthorized Device error are solved by the below methods. We are going to cover 4 different approaches to resolving the issue.
Method 1
- Step 1: Open C-Drive on the laptop.
- Step 2: Go to the users folder.
- Step 3: Open the personal data application folder for example DELL on our pc.
- Step 4: Open .android folder.
- Step 5: Remove the adbkey and adbkey.pub file from the folder.
- Step 6: Connect again your android device with your pc using ADB.
- Step 7: Ask the Device to remember RSA Key when it Prompts. Allow the notification.
- Now it’s done.
Method 2
- Step 1: Open Developer Mode on your android device.
- Step 2: Enable USB Debugging (if already unable ignore this step).
- Step 3: Revoke USB debugging authorization.
- Step 4: Reconnect the android device using USB with pc.
- Step 5: You get a pop-up on your mobile device i.e. Allow USB Debugging.
- Step 6: Allow permission.
- Now it’s done.
Method 3
- Step 1: Disconnect the USB device from pc.
- Step 2: Click Revoke USB debugging authorizations in developer mode.
- Step 3: Disable developer mode on top.
- Step 4: Restart the developer mode.
- Step 5: Unable USB debugging.
- Step 6: Run the command ‘adb kill-server’ on the terminal on pc.
- Step 7: Run the command ‘adb Start-server’ on the terminal.
- Step 8: Connect and Reauthorize your device.
Method 4
For Linux operating system follow the below steps. Run the following command in the terminal on the operating system.
Step 1:
$ mv ~/.android/adbkey ~/.android/adbkey.old
Step 2:
$ mv ~/.android/adbkey.pub ~/.android/adbkey.pub.old
Step 3:
$ adb kill-server
Step 4:
$ adb start-server
Last Updated :
31 Oct, 2022
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...