Test environment:
1, using the adt-bundle-windows-x86_64-20140702 inside the ADB
2, using the mobile phone simulator (Night God)
Problem Description:
have set up the environment of ADB, enter ADB, you can see the following relevant information
But the input ADB devices, but has been unable to find the device, this time the phone simulator has been opened
The solution that was tried:
Method 1:
Can first ADB kill-server, then adb start-server, and finally restart the simulator
(Be sure to restart the emulator, or you will not find the device)
Method 2:
Console CD into the Platform-tools directory under the Android SDK and execute the code (62001 is the port number occupied by the Night God Simulator):
ADB Connect 127.0.0.1:62001
You can also use the nox_adb.exe of Night God, then CD into the night God installation directory under the Bin directory, and then execute the code:
NOX_ADB Connect 127.0.0.1:62001
(about how to find the port number used by the phone simulator: first find the process number that this app occupies in Task manager, such as the Night God Simulator, the PID of NoxVMHandle.exe is 14084, and then the command netstat- Ano can find the corresponding port number is 62001)
Method 3:
Using either of these methods did not solve my problem, and then delete the ADT package to re-prepare the ADB environment can find equipment
Guess:
It may be that you re-loaded ADT through eclipse in adt-bundle-windows-x86_64-20140702, causing
Summary of other notes:
If offline appears when viewing a device, you may have a lower version of ADB and need to download a later version of ADB, refer to the method:
Http://www.muzisoft.com/news/77747.html
Another possibility is to execute the command: The port number in the ADB connect 127.0.0.1: Port number is not written to.
command to find the process number by port number:
Netstat-ano | Findstr 127.0.0.1: Port number
Attention:
such as the night God Simulator connection adb process name is not Nox.exe, but NoxVMHandle.exe, so the port number should be found by noxVMHandle.exe the PID used to find the port number
Monkey problems encountered in the use of tools: Try a variety of methods through the ADB can not find the device