[Android] Android devices are not recognized in ubuntu.

Source: Internet
Author: User

[Android] Android devices are not recognized in ubuntu.

My previous android phone was used by my family and now I have an old phone in my hand. I am not aware of the issue during the debugging process. Please record it this time.

First, you need to enable the mobile phone developer option. In the settings, you can open the option multiple times to the android version or model.

Address: http://www.cnblogs.com/rossoneri/p/4321714.html

Enter

Lsusb

Find your device information

Bus 003 Device 005: ID 127B: f001

After

Cd/etc/udev/rules. d/sudo touch 53-android.rulesgedit 53-android.rules

Write:

SUBSYSTEM = "usb", SYSFS {idVendor} = "109b", MODE = "0666" SUBSYSTEM = "usb", ATTR {idVendor} = "109b ", ATTR {idProduct }== "f001", MODE = "0666"

Then

Sudo chmod a + rx./53-android.rulessudo/etc/init. d/udev restart

Finally, in the adb Folder:

Sudo./adb kill-serversudo./adb start-server./adb devices

The device list is displayed. You can use adb for debugging.

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.