检测设备进行调试(ADB)无法正常工作 [英] Detecting device for debugging (ADB) does not work
问题描述
我已经变成USB我的爱可视43互联网平板电脑(安卓2.3.26)调试,但亚行不检测设备。
我的Kubuntu 11.04。
shell命令的lsusb输出:
迈克尔·schlepptop777:〜/ .android_sdk /平台工具$的lsusb
公交008设备001:ID 1d6b:0001 Linux基金会1.1根集线器
公交007设备001:ID 1d6b:0001 Linux基金会1.1根集线器
公交006设备001:ID 1d6b:0001 Linux基金会1.1根集线器
公交005设备001:ID 1d6b:0001 Linux基金会1.1根集线器
公交004设备001:ID 1d6b:0001 Linux基金会1.1根集线器
公交003设备001:ID 1d6b:0001 Linux基金会1.1根集线器
公交002设备002:ID 0e79:1411爱可视公司
公交002设备001:ID 1d6b:0002 Linux基金会2.0根集线器
公交001设备001:ID 1d6b:0002 Linux基金会2.0根集线器
所以,我的供应商ID是0e79,不是吗?
有关下一步我创建以下文件:
须藤凯特/etc/udev/rules.d/51-android.rules
包含以下内容:
SUBSYSTEM ==USB,SYSFS {idVendor} ==0e79,MODE =0666
在我已经设置权限:
sudo的搭配chmod A + RX /etc/udev/rules.d/51-android.rules
然后我救了它,并重新启动udev的:
须藤/etc/init.d/udev重启
和尽一切步骤亚行仍然不显示我的设备后:
迈克尔·schlepptop777:〜/ .android_sdk /平台工具$ ./adb设备
设备名单附后
<空行,因为计算器不显示此>
在某些情况下,你也有供应商ID添加到该文件中:〜/ .android / adb_usb.ini
#ANDROID第三方USB供应商ID列表 - 不编辑。
#使用'的Android更新亚行就生成了。
每行#1 USB供应商ID。
0x0e79
记住,当你升级SDK,所以你可能需要重新修改该文件可能会覆盖它之后。
I've turned USB debugging on on my Archos 43 Internet Tablet (Android 2.3.26), but adb does not detect the device.
I have Kubuntu 11.04.
Output of shell command "lsusb":
michael@schlepptop777:~/.android_sdk/platform-tools$ lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e79:1411 Archos, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
So my "Vendor ID" is 0e79, isn't it?
For the next step I've created the following file:
sudo kate /etc/udev/rules.d/51-android.rules
with the following content:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0e79", MODE="0666"
After that I've set the permissions:
sudo chmod a+rx /etc/udev/rules.d/51-android.rules
Then I've saved it and restarted udev:
sudo /etc/init.d/udev restart
And after doing all that steps adb still does not display my device:
michael@schlepptop777:~/.android_sdk/platform-tools$ ./adb devices
List of devices attached
<empty line, because stackoverflow does not display this>
In some cases you also have to add vendor id to this file: ~/.android/adb_usb.ini
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x0e79
Mind that this file might be overwritten when you upgrade SDK, so you might need to re-edit it afterwards.
这篇关于检测设备进行调试(ADB)无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!