小米3在我的Ubuntu 12.04下无法识别(USB Debug模式已开启),网上搜了一下发现一篇博文,尝试了下可以解决问题,在此转发一下 http://blog.csdn.net/youth0532/article/details/10816205
sudo gedit /etc/udev/rules.d/50-android.rules在打开的文件中增加以下文本:
SUBSYSTEM=="usb", SYSFS{idVendor}=="2717", MODE=="0666"
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="2717", MODE=="0666"
SUBSYSTEM=="usb", ATTR{idVendor}=="2717", ATTR{idProduct}=="9039", SYMLINK+="android_adb"
sudo chmod a+rx /etc/udev/rules.d/50-android.rules
longskywang@bjb0503:/etc/udev/rules.d$ sudo service udev restart //or restart udev
udev start/running, process 7147
在 android sdk 的 tools 目录下运行 (这一步很重要,必须要sudo,否则没效果)
longskywang@bjb0503:~/android-sdk/platform-tools$ sudo ./adb kill-server
longskywang@bjb0503:~/android-sdk/platform-tools$ sudo ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
longskywang@bjb0503:~/.android$ gedit adb_usb.ini
里面的内容一般如下:
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
我们在其中加一行
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x2717
保存,关掉,然后
longskywang@bjb0503:~/android-sdk/platform-tools$ sudo ./adb kill-server
longskywang@bjb0503:~/android-sdk/platform-tools$ sudo ./adb devices
List of devices attached
9109ce53 device