ADB Android Device Unauthorized

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

    I had the same problem. It was resolved by setting "USB computer connection" to "Camera (PTP)" instead of "Media Device (MTP)

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

    I run into the same issues with nexus7.

    Following worked for fixing this.

    1. Open Developer option in the Settings menu on your device.

    2. Switch off the button on the upper right of the screen.

    3. Delete all debug permission from the list of the menu.

    4. Switch on the button on the upper right of the screen.

    now reconnect your device to your PC and everything should be fine.

    Sorry for my poor english and some name of the menus(buttons) can be incorrect in your language because mine is Japanese.

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

    I was not getting the RSA fingerprint pop up on my phone.

    I had to go into the

      C:\Users\<userName>\.android\adbkey and adbkey.pub 
    

    files, delete those and then do kill and restart of adb server. I had to stop and restart the debugger and connecting as USB in PTP mode.

    Because the RSA authorisation key was getting stored in this path, killing and restarting the adb server didn't help.

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

    On some Samsung devices the mode change that can be set by dialing *#0808# doesn't stick without direct reboot. Once rebooted, dial the same string and make sure that you have adb + mdp selected and USB set to AP. After this make sure to reconnect phone and restart ADB server. Also try to avoid USB hubs and virtual machines witch surely complicate matter further. The follow the previously mentioned instructions for clearing authorized devices etc.

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

    I had the same message in two phones:

    - Sony Xperia E
    - Samsung Galaxy Core 2
    

    both Android 4.4.2, and i solved it with these two steps:

    1.- Updating my adb to 1.0.31, downloading the latest version of Android SDK from SDK Manager

    You can check your adb version by typing

    adb version
    

    2.- Once the phone is plugged in USB Debugging mode, A message appears asking you to authorize this computer for debugging. You have to mark "Always allow this computer", and click on Allow.

    Hope it helps.

    0 讨论(0)
  • 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.

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