lsusb
插上数据线后再:lsusb
gedit /etc/udev/rules.d/51-android.rules
然后再文件里添加链接的usb的内容,用lsusb看
UBSYSTEM=="usb", ATTR{idVendor}=="2a70", MODE="4ee7"
保存退出后执行下面两句
sudo chmod a+rx /etc/udev/rules.d/51-android.rules
sudo /etc/init.d/udev restart
重启adb就好了
sudo adb kill-server
sudo adb start-server
sudo adb devices