1. First, check the idvendor that can only be used on the machine, which can be found at http://developer.android.com/tools/device.html. My computer is Huawei's intelligent machine u9200, so idvendor =12d1
2, # cd/Etc/udev/rules. d/, Go to this folder, and then# Gedit51-android.rulesCreate a file named 51-android.rules, and enter:
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev"
, Symlink + = "android_adb"
(Refer to http://developer.android.com/tools/device.htmlto go to http://210.38.138.176/archiver /? Tid-36.html)
Note: Set idvendor to your own smartphone.
Save the settings.
3. Modify permissions. #Chmod A + R/etc/udev/rules. d/51-android.rules
4. Click RUN configuration of Eclipse, select target, and click manual.
Note: Only one USB driver can be installed in windows.
Supplement: if it is a development environment in Windows, you need to install two things.
One is Google's USB driver, http://developer.android.com/sdk/win-usb.html#topcan download the offline installation package and click Download Google USB driver. Or use the SDK to download the SDK online.
The installation method is as follows:
Windows XP
To install the android USB driver on Windows XP for the first time:
- Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the hardware Update Wizard.
- SelectInstall from a list or specific locationAnd clickNext.
- SelectSearch for the best driver in these locations; UN-CheckSearch removable media; And checkInclude this location in the search.
- ClickBrowseAnd locate the USB driver folder. (The Google USB driver is located in
<sdk>\extras\google\usb_driver\
.)
- ClickNextTo install the driver.
Or,UpgradeAn existing Android USB driver on Windows XP with the new driver:
- Connect your Android-powered device to your computer's USB port.
- Right-click onMy computerFrom your desktop or Windows Explorer, and selectManage.
- SelectDevice ManagerIn the left pane.
- Locate and expandAndroid phoneIn the right pane.
- Right-clickAndroid composite ADB InterfaceAnd selectUpdate driver. This will launch the hardware Update Wizard.
- SelectInstall from a list or specific locationAnd clickNext.
- SelectSearch for the best driver in these locations; UN-CheckSearch removable media; And checkInclude this location in the search.
- ClickBrowseAnd locate the USB driver folder. (The Google USB driver is located in
<sdk>\extras\google\usb_driver\
.)
- ClickNextTo upgrade the driver.
Another is the various manufacturers of mobile phone drivers, the list here: http://developer.android.com/tools/extras/oem-usb.html