android开发adb devices识别出现权限问题"user in plugdev group; are your udev rules wrong?"解决方法

1. 问题描述

ubuntu20@ubuntu20:~/aosp10.0.17$ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
FA6920307289	no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]

2. 解决方法

//ternimal窗口输入以下两行,然后拔掉usb数据线重新插入,再次执行adb devices即可成功
sudo usermod -aG plugdev $LOGNAME
sudo apt-get install android-sdk-platform-tools-common

ubuntu20@ubuntu20:~/aosp10.0.17$ adb devices
List of devices attached
FA6920307289	device
posted @ 2024-07-17 09:52  yongfengnice  阅读(12)  评论(0编辑  收藏  举报