The error occurred while debugging:
The connection to ADB are down, and a servera error has occured.
YouMust restart ADBand Eclipse. Please Ensurethat ADBIsCorrectly located at ' D:......\platform-tools\adb.exe ' and can is executed.
For this question, the online check, there are several ways:
1, determine whether there are adb.exe in the platform-tools, there is no need to copy or download;
2. Application interface conflict with Pea pod
The ADB interface is 5037, and if the Pea pod is opened, the Pea pod will occupy 5037 of the interface.
The process of the Pea pod needs to be turned off and then in CMD by first killing (if there is ADB process in the Task Manager) ADB and then opening the ADB
Step: cmd--input adb kill-server---ADB start-server
Restart eclipse;
3. Check if the port is occupied
ADB has a port of 5037, and if no pea pods are running, you can check to see if there are other programs that are using port 5037 with the following command
Steps:
1) Cmd---Netstat-ano|findstr "5037"
2) View the port of process 3280: Tasklist|findstr "3280"
Check if this is Adb.exe, if not, 5037 port is occupied, then disconnect the relevant process, restart ADB and eclipse in accordance with the method in 2;
4, the above method is not feasible
Online to the method is almost the same, but after several times, the problem is still, restart the computer is not.
Finally, copy the Adb.exe and Hprof-conv.exe files from the Platform-tools file to the Tools folder, and then perform
After ADB kill-sever and ADB start-server and restarted eclipse, the problem was finally solved.
[Operational error in ANDROID]ANDROID development: Adb.exe