Android|error: device unauthorized.


Android手机,调试时报错

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

因为是批量调试,以为脚本有问题,重试了几次,发现一直报同样的错.
喵了一眼,手机发现,其中一个提示是否允许调度对话框,点完确认就一切ok了.

网上搜了一下这个问题的解决办法:
1.重新插拔USB
2.Rom升级,需要再次打开允许USB调试
3.按提示执行adb kill-server
4.换根儿USB线


相关博文

About rainbird

IOS攻城狮
This entry was posted in Android and tagged , , , , , , , , , . Bookmark the permalink.

发表评论