Ubuntu14.0.4 64-bit ADT connected to the phone debugging problem

Source: Internet
Author: User

1: Use the LSUSB command to view USB devices

[Email protected]:~$ Lsusb
Bus 001 Device 002:id 8087:8000 Intel Corp.
Bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
Bus 003 Device 001:id 1d6b:0003 Linux Foundation 3.0 root Hub
Bus 002 Device 006:id 5986:0268 Acer, Inc.
Bus 002 Device 005:id 0bda:8761 Realtek Semiconductor Corp.
Bus 002 Device 004:id 138a:0017 Validity Sensors, Inc.
Bus 002 Device 024:id 109B:90C8
Bus 002 Device 002:id 0461:4d80 Primax Electronics, LTD
Bus 002 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub

: My phone Idvendor is 109b,idproduct is 90c8

2: Add configuration file

$sudo Vim/etc/udev/rules.d/70-android.rules

70 don't know what it means, 50,51 can

Add a line:subsystem== "USB", attrs{idvendor}== "109b", attrs{idproduct}== "90c8", mode= "0666"

Then add execute permissions and restart the device

$sudo chmod a+rx/etc/udev/rules.d/70-android.rules

$sudo Service Udev Restart

3: Use the ADB command to view the device, prompting no permissions

[Email protected]:~$ adb kill-server
[Email protected]:~$ adb devices
* Daemon not running. Starting it now on Port 5037 *
* Daemon started successfully *
List of devices attached
???????????? No permissions

4: Resolve???????????? No permissions

First use the-s parameter to enter root

[Email protected]:~$ sudo-s
[Email protected]:~# adb kill-server
[Email protected]:~# adb start-server
* Daemon not running. Starting it now on Port 5037 *
* Daemon started successfully *
[Email protected]:~# exit

Performing the ADB devices again successfully shows

[Email protected]:~$ adb devices
List of devices attached
U966device

Running the Android program in ADT will now recognize the phone as usual:

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.