Ubuntu Linux adb shell

子车轶
2023-12-01

问题现象:

$ adb shell
* daemon not running; starting now at tcp:5037

* daemon started successfully
error: insufficient permissions for device: user in plugdev group; are your udev rules wrong?
See [http://developer.android.com/tools/device.html] for more information
 

解决方案:

新建 /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0666"

重启 udev
$ sudo /etc/init.d/udev restart

重新插拔USB ADB线

$ adb shell

root:/# 

备注:如果任然不行,重启电脑即可。

 类似资料:

相关阅读

相关文章

相关问答