How to solve ADB device unauthorized in Android ADB host device?

后端 未结 13 1460
情话喂你
情话喂你 2020-12-07 11:04

When I\'m using a rooted Android device as ADB host to send adb command \"adb devices\" to Samsung S4, I received device unauthorized error message. However when I tried adb

13条回答
  •  无人及你
    2020-12-07 12:01

    For unknown reasons, I only had ~/.android/adbkey, but not ~/.android/adbkey.pub.

    I guess that adb was unable to push the public key to the device, and thus the device could never show the authorization dialog.

    After killing the adb server, removing the adbkey file and starting adb again, the authorization dialog popped up on the phone.

提交回复
热议问题