2).Find the usb device appeared when you plug in your smartphone. You can use the command above twice to find it.
3).Copy the id of your device to /home/.android/adb_usb.ini
Example :
~$ 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 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 001 Device 010: ID 2207:0010 <---------------------------------------------------------------This is it!
Bus 002 Device 003: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 002 Device 004: ID 046d:c31d Logitech, Inc.
>>>Add Ox2207 to adb_usb.ini.
4).adb kill-server
adb start server
5).Try "adb devices" now, miracle happens.
Reference:
http://danaquentin.lofter.com/post/dd8db_5de3ad
http://stackoverflow.com/questions/21236049/list-of-devices-attached-is-empty-on-ubuntu-12-04
本文提供了一种解决Android智能手机通过USB连接电脑时无法被ADB识别的问题的方法。具体步骤包括使用lsusb命令找出设备ID,将设备ID添加到adb_usb.ini文件中,重启ADB服务,并最终确认设备是否已被正确识别。

1万+

被折叠的 条评论
为什么被折叠?



