Eclipse的ADT将不会检测Android设备 [英] Eclipse ADT won't detect android devices
问题描述
我已经做了我everithing需要以亚行承认我的设备
I've done everithing I need to in order to ADB recognize my device
正如你所看到的,它是连通的。
As you can see, it is connected.
但日食不会让我在和平而努力。
But eclipse won't let me work in peace
附加信息:
juan@juan-TE5:~$ lsusb
Bus 002 Device 006: ID 22b8:2d66 Motorola PCS
juan@juan-TE5:~$ cat /etc/udev/rules.d/51-android.rules
UBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
我还检查了设备的可调试模式。
I have also checked in the device "debuggable mode".
任何想法?
更新
现在我看到这个
推荐答案
我曾与OpenCV的2.4.9在Ubuntu 14类似的问题,我找到了解决办法。
I had a similar issue on Ubuntu 14 with OpenCv 2.4.9, I found a solution.
看看这个链接了解更多信息:
http://developer.android.com/tools/device.html
Check out this link for more info: http://developer.android.com/tools/device.html
基本上,所有你应该需要做的是:
Basically, all you should need to do is:
-
创建该文件作为须藤
Create this file as sudo
sudo的纳米/etc/udev/rules.d/51-android.rules
sudo nano /etc/udev/rules.d/51-android.rules
复制并粘贴这一行,但检查并确保你有合适的供应商ID,到文件:
Copy and paste this line, but check and make sure you have the right vendor ID, into the file:
SUBSYSTEM ==USB,ATTR {idVendor} ==0BB4,MODE =0666,GROUP =plugdev
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
最后,可使用chmod命令授予权限:
Finally, use chmod to give permissions:
一个搭配chmod + R /etc/udev/rules.d/51-android.rules
chmod a+r /etc/udev/rules.d/51-android.rules
您可以从该链接的厂商ID,它应该有所有的人。该模式下,指定读/写/等。和组定义哪个Unix组拥有的设备节点。
You can get the vendorid from the link, it should have all of them. The mode, specifies read/write/etc. and the group defines which Unix group owns the device node.
这篇关于Eclipse的ADT将不会检测Android设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!