Android miscellaneous-Ubuntu ADB does not recognize devices-Solution

Source: Internet
Author: User

Every time you reinstall the system and reconfigure the SDK, there will always be some minor issues. Simply record them and check them later.

1. Make sure that your SDK has been installed (copy the ADB and other tools in platforms to the tools directory)

Note: Configure andorid SDK to path to. bashrc.

$ Vim. bashrc

The configuration is as follows:

2. run Android with a real machineProgramThere is a string ???????, You just need to configure it (I use HTC Desire Z)

1. Check the USB

$ Lsusb

Display: Bus 002 device 006: Id 0bb4: 0c91 high tech Computer Corp.

2. Create a configuration file (different models on the Internet may have different names)

$ Sudo Vim/etc/udev/rules. d/50-android.rules

Add it in. Note that the obb4 number must be the same as that shown in obb4: 0c91 to obb4.

Subsystem = "USB", sysfs {"high tech Computer Corp." }== "0bb4", mode = "0666"

3. add permissions to this file

Sudo chmod A + Rx/etc/udev/rules. d/50-android.rules

4. Restart udev

Sudo/etc/init. d/udev restart

------ If ???????, You can use the root permission to start ADB devices.

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.