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