Adb driver in Ubuntu

Source: Internet
Author: User
By default, adb in Ubuntu cannot be identified. The error is "insufficientpermissionsfordevice" and "nopermissions" is obtained using adbdevices. there are two solutions: 1. use the root account (su to root account) sucdAndroid-tools-dir. /adbkill-server. /adbstart-server. /adbdevices2

Adb in Ubuntu cannot be identified by default. error: insufficient permissions for device is obtained. no permissions is obtained by using adb devices. There are two solutions:

1. Use the root account (su to the root account)

Su
Cd Android-tools-dir
./Adb kill-server
./Adb start-server
./Adb devices

2. Modify the udev permission and click here to add/etc/udev/rules. d/50-android.rules.

SUBSYSTEM = "usb", SYSFS (idVendor) = "18d1", MODE = "0666 ″

Then modify the execution permission

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

Restart udev

Sudo restart udev

After testing, the first method succeeds, and the second method fails.

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.