据说我安装了三星驱动程序.当我运行ADB设备命令时,它表示未经授权.
我已经完成了这篇文章中所说的一切:https://stackoverflow.com/a/25546300/1848376
但问题是我没有通过电话告诉我必须接受连接.
当我运行命令时adb shell,这是答案:
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.
Run Code Online (Sandbox Code Playgroud)我做了"adb kill-server",但它并没有改变任何东西.为什么?
当我使用root用户设备作为ADB主机向三星S4发送adb命令"adb devices"时,我收到设备未经授权的错误消息.然而,当我尝试adb到三星Galaxy Nexus时,它工作正常.任何人都可以建议如何解决我的三星S4问题?
=========================================
# adb devices
List of devices attached
4d00f9169907301b unauthorized
=========================================
Run Code Online (Sandbox Code Playgroud)
提前致谢.
编辑: 发现此问题仅发生在Android 4.2.2及更高版本上.以下链接解释了Google已实施一些使用adb的新安全功能.
http://nelenkov.blogspot.com/2013/02/secure-usb-debugging-in-android-422.html
感谢是否有人可以提供帮助.