adb 出现 insufficient permissions for device: user in plugdev group; are your udev rules wrong?

adb root:出现

adb: unable to connect for root: insufficient permissions for device: user in plugdev group; are your udev rules wrong?
See [http://developer.android.com/tools/device.html] for more information

adb devices出现

List of devices attached
e0e4050d	no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]

解决办法:

1.

xt@xt:~$ whereis adb
adb: /usr/bin/adb /usr/share/man/man1/adb.1.gz

2.


 cd /usr/bin
 sudo chmod u+s adb 
 sudo chown root:root adb 

3.

cd /etc/udev/rules.d
sudo vim 51-android.rules

4.添加

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

adb 出现 insufficient permissions for device: user in plugdev group; are your udev rules wrong?_第1张图片

 5.重新插拔设备就行了

你可能感兴趣的:(adb,android)