1、检查一下usb
$lsusb
显示:Bus 002 Device 006: ID 0bb4:0c91 High Tech Computer Corp.
2、创建配置文件(网上不同机型貌似名字不一样)
$sudo vim /etc/udev/rules.d/50-Android.rules
在里面加入,这里面需要注意obb4这个号要与上面显示到obb4:0c91中到obb4一样
SUBSYSTEM=="usb", SYSFS{"High Tech Computer Corp."}=="0bb4", MODE="0666"
3、为这个文件加入权限
sudo chmod a+rx /etc/udev/rules.d/50-Android.rules
4、重启udev
sudo /etc/init.d/udev restart
------如果还是出现???????
#!/bin/bash
sudo /etc/init.d/udev restart
cd /home/dingchao/Downloads/android-sdk-linux/platform-tools/
sudo ./adb kill-server
sudo ./adb start-server
sudo ./adb devices