真机调试时候,使用adb devices会出现不能识别出现: android
song@song-Lenovo:~/下载$ adb devices
List of devices attached
emulator-5554 device //eclipse的虚拟机
???????????? no permissions vim
同时在使用elipse调试的时候也不能选择真机,解决办法: eclipse
一、设置usb权限
$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 17ef:6019 Lenovo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 010: ID 0bb4:0cac HTC (High Tech Computer Corp.)
Bus 002 Device 003: ID 0c45:62f0 Microdia spa
$adb kill-server
设置完成了,从新插入设备
$ adb devices
List of devices attached
emulator-5554 device
HT13LTD01429 device 调试