无法在ubuntu 13.04中显示android设备

时间:2013-08-09 15:44:34

标签: android debugging usb adb device

我的Android平板电脑设备无法通过我的笔记本电脑(T61)上的Android设备显示,但它在DELL PC上使用相同的操作系统:Ubuntu 13.04正常工作。

我已将adb更新为最新的平台工具:18.0.1和

export ADB_TRACE=all

之后:

$sudo adb kill-server 
$sudo adb start-server
$ adb devices

它显示:

  

system / core / adb / adb.c :: main():处理命令行()   system / core / adb / adb_client.c :: adb_query():adb_query:host:devices   系统/核心/ ADB / adb_client.c :: _ adb_connect():_ adb_connect:   host:version system / core / adb / transport.c :: writex():writex:fd = 3 len = 4:   30303063 000c system / core / adb / transport.c :: writex():writex:fd = 3   len = 12:686f73743a76657273696f6e host:version   system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4   system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4 got = 4   4f4b4159好的   system / core / adb / adb_client.c :: _ adb_connect():_ adb_connect:return fd 3   system / core / adb / adb_client.c :: adb_connect():adb_connect:service   host:devices system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4   system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4 got = 4   30303034 0004 systems / core / adb / transport.c :: readx():readx:fd = 3   wanted = 4 system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4   得= 4 30303166 001f   系统/核心/ ADB / adb_client.c :: _ adb_connect():_ adb_connect:   host:devices system / core / adb / transport.c :: writex():writex:fd = 3 len = 4:   30303063 000c system / core / adb / transport.c :: writex():writex:fd = 3   len = 12:686f73743a64657669636573 host:devices   system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4   system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4 got = 4   4f4b4159好的   system / core / adb / adb_client.c :: _ adb_connect():_ adb_connect:return fd 3   system / core / adb / adb_client.c :: adb_connect():adb_connect:return fd 3   system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4   system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 4 got = 4   30303030 0000 system / core / adb / transport.c :: readx():readx:fd = 3   wanted = 0 system / core / adb / transport.c :: readx():readx:fd = 3 wanted = 0   得到= 0
  附加设备清单

附加设备列表没有!

但是当我使用时:

$lsusb

显示总线001设备007:ID 2207:0010

平板电脑还显示" USB调试连接",也可以安装为 " USB大容量存储"。

那么为什么 adb设备什么都不显示(只在我的笔记本电脑上)?

1 个答案:

答案 0 :(得分:2)

我将供应商ID添加到〜/ .android / adb_usb.ini ,最后找到了该设备。

步骤:

首先:$lsusb

示例结果:总线001设备025:ID 18d1 :0003 Google Inc.

18d1是卖家ID,将其添加到〜/ .android / adb_usb.ini

第二:echo 0x18d1 >> ~/.android/adb_usb.ini

第三:

$sudo adb kill-server 
$sudo adb start-server
$adb devices