ADB Android Device Unauthorized

后端 未结 30 1813
伪装坚强ぢ
伪装坚强ぢ 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: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!

提交回复
热议问题