Solution for android devices not recognized by ubuntu

Source: Internet
Author: User
This article mainly introduces how ubuntu cannot identify android devices. For more information, see Ubuntu

To test a small application that I wrote today, I took out Defy, which was already a backup machine, for debugging. I found that ubuntu could not be identified. I found the solution as follows:

Obtain usb device information

Connect to our mobile phone via usb, open the terminal, and enterLsusbThe following interface is displayed:

Find our device. for example, Defy is the part shown in the figure. Note22b8: 428c.

Switch root permissions:

Sudo-s

Create rule file

Gedit/etc/udev/rules. d/feelyou-android-devices.rules

Add rule information

In gedit, write content to the feelyou-android-devices.rules:

SUBSYSTEM = "usb", SYSFS {"Google Inc." }== "22b8", MODE = "428c"

Here, 22b8 and 428c are the information obtained by lsusb.

Application rule file

Chmod a + rx/etc/udev/rules. d/feelyou-android-devices.rules

/Etc/init. d/udev restart

Restart adb

Switch to the platform-tools folder under the Android sdk directory and execute:

Sudo./adb kill-server

Sudo./adb devices

You will see

It can be recognized normally in Eclipse.

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.