androidadbunauthorizedoneplusone

Android ADB devices unauthorized


Configuration:

Problem

I installed the Samsung drivers as it is said to do. When I run the ADB devices command, it said unauthorized.

Already tried:

  1. I've done everything that'd been said on this post: https://stackoverflow.com/a/25546300/1848376

    But the problem is that I don't get a prompt on the phone to tell me I must accept the connection.

  2. When I run the command adb shell, here is the answer:

    error: device unauthorized.
    This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
    Otherwise check for a confirmation dialog on your device.
    

I did "adb kill-server", but it didn't change anything. Why?


Solution

  • Thankgod xda developers exist : http://forum.xda-developers.com/verizon-lg-g3/help/unable-to-access-adb-t2830087

    Just had to delete adbkey file in C:Users/$Name/.android adbkey.pub was missing.

    Restart after this and both files are there.

    If this does not work : - Try Revoke USB DEBUGGING Authorization. - Enable USB debugging again.