ADB Android Device Unauthorized

后端 未结 30 1434
伪装坚强ぢ
伪装坚强ぢ 2020-11-22 14:36

Since I reinstalled Eclipse (simply deleted and downloaded it again) I can\'t debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). It worked fin

相关标签:
30条回答
  • 2020-11-22 15:19

    Check if you have kies installed. That is one possible solution

    0 讨论(0)
  • 2020-11-22 15:19

    Disconnect your device from the computer.

    Go into developer settings.

    Turn off developer settings.

    Turn on developer settings.

    Enable USB Debugging (and whatever other settings you enabled beforehand)

    Reconnect your device to the computer.

    Try again.

    Worked for me so hope it works for you!

    0 讨论(0)
  • 2020-11-22 15:21

    Try forcing ADB to create new keys.

    • On Linux:

      $ mv ~/.android/adbkey ~/.android/adbkey.old
      $ mv ~/.android/adbkey.pub ~/.android/adbkey.pub.old
      $ adb kill-server
      $ adb start-server
      
    • On Windows 10 (thank you, Pau Coma Ramirez, Naveen and d4c0d312!):

      • Go to %HOMEPATH%\Android\.android\
      • Look for files called adbkey or adbkey.pub.
      • Delete these files. Or, if you want to be on the safe side, move them to another directory.
      • Repeat the above steps in %USERPROFILE%\.android\
      • Try again

    After this I didn't even need to unplug my phone: the authorization prompt was already there. Good luck!

    0 讨论(0)
  • 2020-11-22 15:23

    This solved my issue!

    1. run your android simulator
    2. go to setting and enable developer mode
    3. enable from the developer settings usb debugging

    at this point you will get popup massage at you emulator to authorise the device and you are good to go :)

    0 讨论(0)
  • 2020-11-22 15:24

    As the message have stated, you need to allow the adb access on your phone.

    You need to first connect the phone to your PC with USB cables, then the authorization message will pop out on the screen. Tick remember your choice, then allow it.

    IF your device doesnt shows any messages when connected to the PC.Just do this.

    Remove /data/misc/adb/adb_key, reboot your phone and try connect again. The message should come up.

    0 讨论(0)
  • 2020-11-22 15:24

    it's not may work for all situations but because i used a long cable my device doesnt connect properly and the message wont pop up change the cable may solve the problem

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