List of devices attached

Source: Internet
Author: User

1. Environment: ADB over USB on Ubuntu12.04 (64-bit) PC.

2. Problem: After adb devices, only "List of devices attached" is displayed, and devices are not listed. Make sure the usb is connected. For example:

3. solution:

1) first, make sure that there is an available SDK adb tool on the PC. If not, download the response at http://developer.android.com/sdk/index.html.

2) Make sure that the android phone can be connected to the PC through usb, And you can view it using lsusb.

Note: The following operations are performed with the root permission. I log on as the root user. If sudo su is not required, switch to the root permission.

3) Find the file in PC ~ /. Android/adb_usb.ini, if not created: vi ~ /. Android/adb_usb.ini

4) add idVender: echo "idVender"> ~ /. Android/adb_usb.ini, where idVebder is the first value after the ID of the content displayed by lsusb. Note: Add 0x. For example, echo "0x1d6b"> ~ /. Android/adb_usb.ini.

5) Confirm that the idVender added by echo has taken effect: cat/root/. android/adb_usb.ini

6) connect to the usb and restart adb-server:

Adb kill-server

Adb start-server

7) Verification: adb devices

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.