Fix ubuntu adb devices can't find the device

Source: Internet
Author: User

Encounter a problem, the phone is already in the developer mode, USB debugging open, drive and other normal conditions, sometimes the ADB devices can not find any device situation

You can try the following steps to resolve:

1. View the list of native USB devices
Lsusb  


From: Http://man.linuxde.net/lsusb

The results are as follows:

In the list above to find the new USB device, if you do not see which is the new device, you can unplug the USB device to re-execute LSUSB to compare

Record the value between "ID" and the front of the device description, such as the above: 18d1:4ee2

2. Edit the 51-android.rules file
sudo gedit/etc/udev/rules.d/Wuyi

If you do not have this file to create a new one, and not necessarily the beginning of 51, my own side is 70-android.rules

Add the following content:

subsystem=="usb", attrs{idvendor}=="18d1", attrs{idproduct }=="4ee2", mode="0666", group="Plugdev "

Note the number after attrs{idvendor}== is the number that precedes the colon in the first step, followed by the number after the colon attrs{idproduct}==

Save exit

3. Edit the ~/.android/adb_usb.ini file
sudo gedit ~/.android/adb_usb.ini

If you do not find it, add "0x" + the number before the colon in the first step:

0x18d1

Save exit

4. Effective restart ADB
sudo service udev restart  
sudo Kill-server
sudo adb start-server

Fix ubuntu adb devices can't find the device

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.