Eclipse ADT won't detect android devices

喜你入骨 提交于 2019-12-11 12:57:51

问题


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

Additional info:

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".

Any ideas?

Updated

Now I see this


回答1:


Sometimes there is another option inside of Dev Options called USB Debuggable. Need to have that on as well...as Isabel suggested.




回答2:


I had a similar issue on Ubuntu 14 with OpenCv 2.4.9, I found a solution.

Check out this link for more info: http://developer.android.com/tools/device.html

Basically, all you should need to do is:

  1. Create this file as sudo

    sudo nano /etc/udev/rules.d/51-android.rules

  2. 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"

  3. Finally, use chmod to give permissions:

    chmod a+r /etc/udev/rules.d/51-android.rules

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.



来源:https://stackoverflow.com/questions/22996790/eclipse-adt-wont-detect-android-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!