真機調試時候,使用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 調試