Visual Studio插入android手机无法显示设备,驱动已安装。在命令行输入adb devices

显示

List of devices attached
xxxxxxxxx        unauthorized

解决办法:断开手机数据线,打开命令行输入

adb kill-server
adb start-server

两行代码分别回车,执行完成后重新插上手机数据线即可!