I have a Nexus 4 with Android 4.3 and I am trying to connect the device to a computer with Windows 7 64bit.
I installed the latest drivers and the latest adb
version. I think I tried almost everything and I still get the following message:
C:\Program Files (x86)\Android\sdk\platform-tools>adb devices
List of devices attached
007667324ccb229b unauthorized
What can be the reason for this error?
I solved this problem without deleting any keys. Here's how:
Here is my version of the steps:
if adb shell shows empty host name, restart device
This kind of an old post and in most cases I think the answer that has been upvoted the most will work for people.
In Lollipop on a GPE HTC M8 I was still having problems. The below steps worked for me.
adb devices
Now you should get the RSA popup on your phone.
Had the same issue. Not sure if these are the same steps for Windows as I'm using an OS X device but you can try:
Open the terminal and type:
All done! Just
adb shell reboot
and feel the power!My resolution was running
adb devices
from the command prompt, pathed to the adb application. For example C:\Android\platform-tools\adb devices . Running this command returned the following* daemon not running. starting it now on port 5037 * *daemon started successfully *
I then saw the device listed as unauthorized, unplugges the USB, plugged back in and was prompted for the RSA fingerprint.
Had the same issues getting an authorization token on my Nexus 5 on Windows 8.1. I didn't have the latest adb driver installed - this is visible in device manager. Downloaded the latest ADB USB driver from Google here: http://developer.android.com/sdk/win-usb.html
Updated the driver in device manager, however enable/disable USB debugging and unplugging/plugging USB still did not work. Finally the "adb kill-server" and "adb start-server" mentioned in other answers did the trick once the driver was updated.