ADB does not set a solution

Source: Internet
Author: User

1. First of all, you have to select the USB debug option on your phone, otherwise LSUSB will not have your device.
2. LSUSB View USB Device ID
3. Sudo vim/etc/udev/rules.d/51-android.rules
subsystem== "USB", attr{idvendor}== "0bb4", attr{idproduct}== "0fff", mode= "0666", owner= "Smx"
0bb4 and 0fff above must be the USB device ID you see through LSUSB
4. Sudo/etc/init.d/udev restart
sudo adb kill-server
sudo adb start-server
ADB devices
If it doesn't work,
5. Vim ~/.android/adb_usb.ini
Add Id:0x0bb4, this ID must be if you view the USB device ID through LSUSB
(Note 0X)
6. Sudo/etc/init.d/udev Restart
sudo adb kill-server
sudo adb start-server
7. ADB devices
After the accident, you should be able to display the device.
If there's an accident, it's Google.

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.