Debugging Android devices using adb and USB connections in Ubuntu

Source: Internet
Author: User
1. Run sudovi/etc/udev/rules. d/51-Android.rules, create the 51-android.rules configuration file 2, add an entry according to the following data format: SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1 ", ATTR {idProduct }== "xxxx2", MODE = "0600", OWNER = "xxx

1. Run sudo vi/etc/udev/rules. d/51-Android.rules to create the 51-android.rules configuration file.

2. Add an entry in the following data format:

 

SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1", ATTR {idProduct} = "xxxx2", MODE = "0600", OWNER = "xxxx3"

 

3. Enter xxx1, xxx2, and xxx3 based on your device information.

Where,

(1) xxx3 is the user name when you log on to mongout.

(2) how to search for xxx1 and xxx2,

Run the command lsusb to find your usb Device (). My Device entry is: Bus 001 Device 014: ID 2207: 0006

Among them, 2207 is the idVendor of the device, and 0006 is the idProduct.

 

 

4. Run the sudo chmod a + rx 51-android.rules command to modify the permissions of 51-android.rules and add the readable and executable permissions to him.

5. Run the command. vi ~ /. Android/adb_usb.ini: Create adb_usb.ini and add the idVendor of the device you just found.

 

 

6. Finally, the last step is reached,

Run the following command: adb kill-server and adb devices ,:

 

Recommended reading:

 

Hadoop Eclipse plug-in compilation and installation 1.2.0 http://www.linuxidc.com/Linux/2013-07/87428.htm

 

Hadoop plug-in compilation http://www.linuxidc.com/Linux/2013-04/83295.htm in Eclipse

Hadoop 1.2.1 compile Eclipse plugin http://www.linuxidc.com/Linux/2013-10/91666.htm

Ubuntu 13.10 install JDK, Eclipse for C/C ++ (solve global menu problem) http://www.linuxidc.com/Linux/2013-11/92305.htm

Download, install, and configure Ubuntu 13.10Page http://www.linuxidc.com/Linux/2013-10/91564.htm

Ubuntu 13.10 text tutorial on hard drive installation in Windows 7See http://www.linuxidc.com/Linux/2013-10/91565.htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Related Article

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.