Fix Error:device not found

Source: Internet
Author: User
Tags lenovo

1. Install adb via Apt-get (if configured, can skip)

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb

Connect your Android device to your computer and the ADB shell will prompt "Error:device not found"


2, mobile phone first not connected to the computer, through the LSUSB to view the USB device , and then connect the Android device to the computer, through the LSUSB to view the USB device, more than that line is the Android device.

Bus 001 Device 002:id 8087:8008 Intel Corp.
Bus 002 Device 002:id 8087:8000 Intel Corp.
bus 003 Device 009:id 18d1:4e12 Google Inc. Nexus one (debug)
bus 003 Device 003:id 0bda:b728 Realtek Semiconductor Corp.
bus 003 Device 004:id 17ef:6018 Lenovo
bus 003 Device 005:id 17ef:6019 Lenovo
bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root hub
bus 002 Device 001:id 1d6b:0002 Linux Foundation 2.0 root hub
bus 003 Device 001:id 1d6b:0002 Linux Foundation 2.0 root hub
bus 004 Device 001:id 1d6b:0003 Linux Foundation 3.0 root hub


3. Create Adb_usb.ini file, write ID

echo 0xd1> ~/.android/adb_usb.ini


4. Add Permissions

sudo vim/etc/udev/rules.d/70-android.rules

Add the following to note that the Red section corresponds to the ID that LSUSB gets

ubsystem== "USB", attrs{idvendor}== "18d1", attrs{idproduct}== "4e12", mode= "0666"


5. Restart the USB service

$sudo chmod a+rx/etc/udev/rules.d/70-android.rules
$sudo Service Udev Restart


6. Restart the ADB service, ADB devices has a device stating that the ADB installation was successful

$ADB Kill-server

$sudo adb start-server

$ADB devices

List of devices attached
12345678900 Device

Fix Error:device not found

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.