This article mainly introduces how ubuntu cannot identify android devices. For more information, see Ubuntu
To test a small application that I wrote today, I took out Defy, which was already a backup machine, for debugging. I found that ubuntu could not be identified. I found the solution as follows:
Obtain usb device information
Connect to our mobile phone via usb, open the terminal, and enterLsusb
The following interface is displayed:
Find our device. for example, Defy is the part shown in the figure. Note22b8: 428c
.
Switch root permissions:
Sudo-s
Create rule file
Gedit/etc/udev/rules. d/feelyou-android-devices.rules
Add rule information
In gedit, write content to the feelyou-android-devices.rules:
SUBSYSTEM = "usb", SYSFS {"Google Inc." }== "22b8", MODE = "428c"
Here, 22b8 and 428c are the information obtained by lsusb.
Application rule file
Chmod a + rx/etc/udev/rules. d/feelyou-android-devices.rules
/Etc/init. d/udev restart
Restart adb
Switch to the platform-tools folder under the Android sdk directory and execute:
Sudo./adb kill-server
Sudo./adb devices
You will see
It can be recognized normally in Eclipse.