Saturday, October 4, 2014

Android device keeps asking for adb authorization


My Android device kept asking me for authorization every time I would plug it into a certain computer. I knew it wasn't the device, because it worked fine with other computers.

Here's what worked:

  1. Delete the ADB key on the local machine
    rm ~/.android/adbkey*

  2. Restart the ADB server to recreate the key
    adb kill-server && adb start-server
That's it! The next time I connected to that computer, it asked me for authorization (since I had a new key), but it hasn't asked me since.

0 comments:

Post a Comment