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
I reinstalled the usb
drivers and ensured that I was not using USB 3.0
port.
I then closed out eclipse and killed and restarted adb
.
Was immediately prompted on phone to allow computer access. After accepting I restarted eclipse and now my Galaxy S3 shows up in device Device Manager.
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.
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
I was facing same, issue, I found I was using a simple usb cable which was meant for only charge and not data copy. using good usb cable solved my problem !
Сhange USB connection mode from MTP to Camera (for Nexus 7) or, possibly, to Mass Storage or something else (for other devices). This option is usually under Settings -> Storage
. Then connect the device again, you'll get the authorization dialog.
MTP has been known to interfere with USB debugging -- these two did not work together at all on majority of older devices. Nexus 7 and many newer devices do allow both to work alongside, but this particular issue suggests it's not all that smooth yet.
Bonus -- checklist for when adb
is not behaving well:
adb kill-server
followed by adb start-server
Settings -> Developer Options -> USB Debugging
-- switch off and on/etc/udev/rules.d/51-android.rules
(again, universal solution: https://github.com/snowdream/51-android)~/.android
is owned by you, not root
(and upvote this answer)