ADB Android Device Unauthorized

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

    After installing Android studio, I had incorrect permissions on the folder "~/.android"(access for reading and writing only for root). So I changed it and ran project from Android studio(device still was marked as "unauthorized").

    Android studio showed an error "Error installing apk", but in the folder "~/.android" were created files "adbkey", "adbkey.pub", "debug.keystore".

    After that I restarted adb (ran commands adb kill-server and adb start-server) and authorization dialog appeared on my device.

    Hopefully someone will approach this solution.

提交回复
热议问题