ADB Android Device Unauthorized

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

    Had similar issue on osx and Nexus 5 (A6.0.1). I did get the authorization pop-up and confirmed it, despite that Android Studio nor any other IDE could connect to device.

    Turned out my Nexus (rooted) was missing key files.

    • Rebooted Android device into recovery
    • Ran code pasted below
    • Rebooted Android device, adb now identifies device

    Push key from computer to Android device:

     cd ~/.android && adb push adbkey.pub /data/misc/adb/adb_keys
    

    Solution came from here

提交回复
热议问题