Can't connect Nexus 4 to adb: unauthorized

后端 未结 26 1420
你的背包
你的背包 2020-12-02 07:44

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

相关标签:
26条回答
  • 2020-12-02 07:59

    Simply re-plugging did the trick for me.... The permissions-dialog didn't show up the first time I plugged in the device, the second time it did and everything is fine now.

    0 讨论(0)
  • 2020-12-02 08:02

    After you ensure you have enabled USB debugging unlock your phone and plug it into your machine via USB. You will be then asked to authorize communication with the computer you have connected to. It will also show computers RSA key fingerprint.

    enter image description here

    Accept it and you are good to go!

    0 讨论(0)
  • 2020-12-02 08:02

    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:

    1. Reboot your phone into recovery mode.
    2. Connect it to your computer.
    3. Open the terminal and type:

      cd ~/.android
      adb push adbkey.pub /data/misc/adb/adb_keys
      
    4. All done! Just adb shell reboot and feel the power!

    0 讨论(0)
  • 2020-12-02 08:02
    1. Make sure adb is up to date
    2. Make sure you are using the google usb drivers: http://developer.android.com/tools/extras/oem-usb.html
    3. Make sure your ANDROID_SDK_HOME environment variable is set to the correct path
    0 讨论(0)
  • 2020-12-02 08:03

    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.

    0 讨论(0)
  • 2020-12-02 08:06

    I had similar situation. Here is what I did:

    Try to check and uncheck the USB Debugging option in the device. (if not working, try to unplug/plug the USB)

    At some point, the device should show up a messagebox to ask you if you authorize the computer. After you click yes, the device is then authorized and the connection is hooked.

    0 讨论(0)
提交回复
热议问题