With the rapid advancement of technology, it can be difficult to keep up with all the changes. One of these changes is the increase in Android devices and their usage. Unfortunately, this also means an increased chance for errors like ADB Device Unauthorized Error. In this article, you’ll learn How to Fix ADB Device Unauthorized Error in 2023?
How to Fix ADB Device Unauthorized Error in 2023?
If you’re getting an “ADB device unauthorized” error when trying to connect your Android device to your computer, it’s most likely because you have USB debugging enabled on your device, but you haven’t authorized your computer to debug it.
Here’s how to fix that:
1. On your Android device, go to Settings > Developer options and make sure that USB debugging is enabled.
2. Connect your Android device to your computer using a USB cable.
3. If you see a pop-up on your Android device asking whether you want to allow this computer to debug it, tap Allow.
If you don’t see the pop-up, try steps 4-6.
4. On your computer, open a command prompt and type: adb kill-server
5. Then type: adb start-server
6. Finally type: adb devices
You should now see your device listed as “device.”
Step One: Check Debugging Mode Settings
If you are receiving the “ADB Device Unauthorized” error, it is likely that your Android Debug Bridge (ADB) is not set up correctly. To fix this, follow these steps:
1. Check your ADB debugging mode settings. On your Android device, go to Settings > About Phone and find the Build Number. Tap on the Build Number seven times to enable Developer Options. Then, go to Settings > Developer Options and ensure that USB Debugging is enabled.
2. If USB Debugging is already enabled, try restarting your device and/or your computer. Sometimes this simple step can fix the issue.
3. If you’re still having trouble, try reinstalling the Android SDK Platform-Tools. This will install the latest version of ADB and may fix any issues you’re having.
4. Finally, if none of the above steps work, it’s possible that your Android device has a hardware issue that is preventing ADB from working correctly.
Step Two: Replug the USB Cable
If your Android device is still showing the ADB Device Unauthorized message, try replugging the USB cable into your device and then your computer. This will often reset the connection and allow ADB to work properly again.
Step Three: Run the “adb devices” Command to to Fix ADB Device Unauthorized Error
If your device is listed as “unauthorized”, don’t worry! This just means that you need to give ADB permission to access your device.
To do this, open up a terminal window and type the following:
Once you’re in the tmp directory, type the following:
“pm grant com.android.debuggerd permission_name”
Substitute “permission_name” with the name of the permission you want to grant (e.g., “android.permission.WRITE_EXTERNAL_STORAGE”).
Step Four: Delete and Reinstall the Android Drivers
If you’re still getting the “ADB Device Unauthorized” error, it’s time to delete and reinstall the Android drivers. To do this:
1. Go to the Start menu and search for “Device Manager.”
2. In Device Manager, find the listing for your Android device. It may be listed under “Other devices” or “Ports.”
3. Right-click on your Android device and select “Uninstall.”
4. Confirm that you want to uninstall the driver.
5. Download and install the latest Android drivers from your manufacturer’s website or from a reliable third-party site.
6. Restart your computer, and connect your Android device to your computer using a USB cable.
Step Five: Check Your Firewall Settings to Fix ADB Device Unauthorized Error
If you are still seeing the ADB Device Unauthorized Error, it is likely that your Firewall is blocking the connection. To check your Firewall settings, go to the Control Panel and click on “System and Security”. From here, click on “Windows Firewall” and then click on “Allow an app or feature through Windows Firewall”.
Scroll down the list until you find “Android Debug Bridge” and make sure that both the Private and Public checkboxes are checked. Once you have made these changes, restart your computer and try running ADB again.
In conclusion, ADB device unauthorized error can be a frustrating problem to have. However, with the right troubleshooting steps and a little patience, you can easily fix this issue in no time. If none of these solutions work for you, then it might be best to contact customer support or your IT department for more help. We hope that this article has been useful in helping you solve How to Fix ADB Device Unauthorized Error in 2023.