Eclipse in Ubuntu does not recognize Android phone issues

Source: Internet
Author: User

1. Question:

In Ubuntu in the real machine to debug the Androi program, found that the phone is not recognized, such as the display of 2.37 column before the display is full of garbled, this is resolved after the cut figure.


2. Cause of the problem:

Under window We can install the driver to achieve the ABD connection, and in Ubuntu does not install the concept of mobile phone driver, then we must also need a what to achieve this drive function. This Android official website is introduced in detail.

3. The following steps are documented:

First step: Open terminal, enter: sudo gedit/etc/udev/rules.d/51-android.rules (note: rules.d under no 51-android.rules will be himself

Create

The second step: in the pop-up, such as editing files in a fixed format to enter your phone model corresponding ID number, official website format as follows:
subsystem= "USB", attr{idvendor}== "0bb4", mode= "0666", group= "Plugdev"


We actually apply the group item in general, that is, the following format:

subsystem== "USB", attr{idvendor}== "your phone corresponding ID", mode= "0666".

The ID of the phone can be viewed on the official website. Or as I do, copy the following, all at once, and then save. Such as:


subsystem=="USB", attr{idvendor}=="18d1", mode="0666"
subsystem=="USB", attr{idvendor}=="0502", mode="0666"
subsystem=="USB", attr{idvendor}=="0b05", mode="0666"  
subsystem=="USB", attr{idvendor}=="413c", mode="0666"  
subsystem=="USB", attr{idvendor}=="0489", mode="0666"
subsystem=="USB", attr{idvendor}=="04c5", mode="0666"
subsystem=="USB", attr{idvendor}=="091e", mode="0666"  
subsystem=="USB", attr{idvendor}=="109b", mode="0666"  
subsystem=="USB", attr{idvendor}=="0bb4", mode="0666"
subsystem=="USB", attr{idvendor}=="12d1", mode="0666"
subsystem=="USB", attr{idvendor}=="24e3", mode="0666 "  
subsystem=="USB", attr{idvendor}=="2116", mode="0666"  
subsystem=="USB", attr{idvendor}=="0482", mode="0666"
subsystem=="USB", attr{idvendor}=="17ef", mode="0666"
subsystem=="USB", attr{idvendor}=="1004", mode="0666"  
subsystem=="USB", attr{idvendor}=="22b8", mode="0666"  
subsystem=="USB", attr{idvendor}=="0409", mode="0666"
subsystem=="USB", attr{idvendor}=="2080", mode="0666"
subsystem=="USB", attr{idvendor}=="0955", mode="0666"  
subsystem=="USB", attr{idvendor}=="2257", mode="0666"  
subsystem=="USB", attr{idvendor}=="10a9", mode="0666"
subsystem=="USB", attr{idvendor}=="1d4d", mode="0666"
subsystem=="USB", attr{idvendor}=="0471", mode="0666"  
subsystem=="USB", attr{idvendor}=="04da", mode="0666"  
subsystem=="USB", attr{idvendor}=="05c6", mode="0666"
subsystem=="USB", attr{idvendor}=="1f53", mode="0666"
subsystem=="USB", attr{idvendor}=="04e8", mode="0666 "  
subsystem=="USB", attr{idvendor}=="04DD", mode="0666"  
subsystem=="USB", attr{idvendor}=="054c", mode="0666"
subsystem=="USB", attr{idvendor}=="0FCE", mode="0666"
subsystem=="USB", attr{idvendor}=="2340", mode="0666"  
subsystem=="USB", attr{idvendor}=="0930", mode="0666"  
subsystem=="USB", attr{idvendor}=="19d2", mode="0666"



Third step: Terminal input:sudo chmod a+r/etc/udev/rules.d/51-android.rules

The phone will be OK again once again.


Eclipse in Ubuntu does not recognize Android phone issues

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.