List of devices attached is followed by blank!

本文提供了一种解决Android智能手机通过USB连接电脑时无法被ADB识别的问题的方法。具体步骤包括使用lsusb命令找出设备ID,将设备ID添加到adb_usb.ini文件中,重启ADB服务,并最终确认设备是否已被正确识别。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1).$ lsusb

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值