Resources:
http://blog.csdn.net/yuanjingjiang/article/details/11297433
Http://www.educity.cn/wenda/153487.html
http://bbs.csdn.net/topics/390489127
Recently did a task, to modify a product bug, so borrowed a few models of the phone to debug, found that some phones open the developer mode of the USB debugging options, when running the project (successfully installed the driver), there are problems:
or AVD name appears below: Offline tips, online search a lot of solutions, first put someone else's solution, and then how to solve their own:
( Note: If the driver has been successfully installed )
Method 1 (I did not try, do not know how to get):
1. View the vendor ID of the device:
[Email protected]:~$ Lsusb
Bus 005 Device 001:id 1d6b:0001 Linux Foundation 1.1 root Hub
Bus 004 Device 001:id 1d6b:0001 Linux Foundation 1.1 root Hub
Bus 003 Device 002:id 24ae:2000
Bus 003 Device 001:id 1d6b:0001 Linux Foundation 1.1 root Hub
Bus 002 Device 001:id 1d6b:0001 Linux Foundation 1.1 root Hub
Bus 001 Device 004:id 0bb4:0cfe high Tech computer Corp.
Bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
2. Add a mobile device to the USB list
Input:
3. Save and run at the command line:
Then restart Eclipse and right-click to run, the problem is solved.
Method 2: (tried, unsuccessful)
- Close Eclipse (Close eclipse)
- End the Adb.exe process (using Windows Task Manager) (end Adb.exe process with Task Manager)
- Restart Eclipse (the device is now recognized in Android device Chooser) (restart Eclipse)
Method 3: Restart the computer or mobile phone directly (tried, also did not solve)
Your own workaround:
After trying the method 2,3, or not, so can only give in to the mobile phone Assistant: Install a 360 mobile phone assistant (perhaps Pea pod or the like can also, no test), follow the prompts step by step, the last can be the phone debugging.
Note : It's a good idea to try something else first, because you don't like 360 phone assistants, and there are a couple of uncomfortable places to install:
1, the other simulator (from the simulator, Start bluestacks, etc.) are squeezed out, can only use the phone to debug
2, force you to also install mobile phone assistant on the mobile phone
3, even if the phone is unplugged, also detects other simulators, especially the start BlueStacks, must restart the computer to re-detect.
Elipse mobile device displays target unknown or offline solution