1.通过如下命令
sudo gedit /etc/udev/rules.d/51-android.rules
将下面内容写入该文件
#Acer 0502
SUBSYSTEM=="usb", SYSFS{idVendor}=="0502", MODE="0666"
#Dell 413c
SUBSYSTEM=="usb", SYSFS{idVendor}=="413c", MODE="0666"
#Foxconn 0489
SUBSYSTEM=="usb", SYSFS{idVendor}=="0489", MODE="0666"
#Garmin-Asus 091E
SUBSYSTEM=="usb", SYSFS{idVendor}=="091e", MODE="0666"
#HTC 0bb4
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
#Huawei 12d1
SUBSYSTEM=="usb", SYSFS{idVendor}=="12d1", MODE="0666"
#Kyocera 0482
SUBSYSTEM=="usb", SYSFS{idVendor}=="0482", MODE="0666"
#LG 1004
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
#Motorola 22b8
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
#Nvidia 0955
SUBSYSTEM=="usb", SYSFS{idVendor}=="0955", MODE="0666"
#Pantech 10A9
SUBSYSTEM=="usb", SYSFS{idVendor}=="10A9", MODE="0666"
#Samsung 04e8
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
#Sharp 04dd
SUBSYSTEM=="usb", SYSFS{idVendor}=="04dd", MODE="0666"
#Sony Ericsson 0fce
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
#ZTE 19D2
SUBSYSTEM=="usb", SYSFS{idVendor}=="19D2", MODE="0666"
2.然后依次执行如下命令:
sudo udevadm control --reload-rules
./adb kill-server
./adb devices
3.如果List of devices attached为空,则重新插入usb,在运行命令./adb devices
Ubuntu Android真机调试:http://www.linuxdiyf.com/linux/7429.html
ubuntu15.04下安装eclipse4.4:http://www.linuxdiyf.com/linux/12322.html
Ubuntu下Eclipse使用常见问题:http://www.linuxdiyf.com/linux/9779.html
ubuntu 15.04下使用Eclipse搭建Hadoop开发环境:http://www.linuxdiyf.com/linux/15008.html
ubuntu15.04搭建eclipse环境:http://www.linuxdiyf.com/linux/15007.html