one. ADB server didn ' t ACK
When you finish configuring the Android environment, when you execute the first program, you encounter an error such as the following:
ADB server didn ' t ACK
* Failed to start daemon *
It may be that the port5037 is occupied, need to find the PID that occupies 5037 (android default) port, enter in CMD:
Netstat-ano | findstr "5037"
Output process:
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 9292
TCP 127.0.0.1:5037 127.0.0.1:49422 established 9292
TCP 127.0.0.1:49422 127.0.0.1:5037 established 3840
At this point the process "9292" ends, the code such as the following:
TASKLIST | findstr "9292"
two. The connection to ADB are down, and a severe error have occured
You may also encounter an error that often occurs after you run the above results:
The connection to ADB are down, and a severe error has occured.
You must restart ADB and Eclipse.
Please ensure this adb is correctly located at ' D:\. \platform-tools\adb.exe ' and can be executed.
For example, as seen in:
The workaround is to call adb kill-server in cmd and then call adb start-server Open the service. However, errors may occur:
ADB server is an out of date. Killing ...
ADB server didn ' t ACK
* Failed to start daemon *
This is due to the port number being occupied, check the pea pod or phone assistant occupy the port number, will kadb\qadb process is closed.
Detailed methods such as the following:
1. Turn off eclipse and pea pods first, End Process kadb at the same time.
2. Use the CD to go to the Platform-tools directory (containing Adb.exe) and open the ADB service as my instructions are:
G:
CD G:\software\Program Software\android\adt-bundle-windows-x86_64-20140321\sdk\platform-tools
adb start-server
successful output:
* Daemon not running. Starting it now on port 11888*
* daemon Started successfully *
Finally click on Platform-tools application, then execute the program.
Note that the program above the above program output port number is 11888, if you are still unsuccessful, can change the environment of the port number, for example:
Change the port number and then follow the steps above. This is the wrong way to configure android+Eclipse, I hope you can be useful ~
(By:eastmount 2014-10-20 Night 2. ) http://blog.csdn.net/eastmount/ )
[Android] The connection to ADB are down, and a severe error have occured