sudo vi /etc/udev/rules.d/51-android.rules
按照厂商ID填写,比如0bb4就写
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ODE="0666", GROUP="plugdev"
sudo chmod a+r /etc/udev/rules.d/51-android.rules sudo service udev restart android update adb
Manufacturer | USB Vendor ID |
---|---|
Acer | 0502 |
Dell | 413c |
Foxconn | 0489 |
Garmin-Asus | 091E |
HTC | 0bb4 |
Huawei | 12d1 |
Kyocera | 0482 |
LG | 1004 |
Motorola | 22b8 |
Nvidia | 0955 |
Pantech | 10A9 |
Samsung | 04e8 |
Sharp | 04dd |
Sony Ericsson | 0fce |
ZTE | 19D2 |