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