问题重现:
确认:
1.Android设备已连接PC
2.Android设备已打开USB调试
$:adb devices
List of devices attached
ad5b342b no permissions (missing udev rules? user is in the plugdev group); see [http://developer.android.com/tools/device.html]
显示已找到设备 但是没有权限
解决办法:
1.查看自己的Android设备信息
adb start-server
lsusb
显示:
$adb start-server
$lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 17ef:6099 Lenovo
Bus 001 Device 002: ID 17ef:608d Lenovo
Bus 001 Device 033: ID 18d1:4ee7 Google Inc. //android xxx
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub