At the time of Android development, sometimes when we turn on the virtual machine to run the program, we report something similar to the following error:
[2015-07-19 15:08:29-testxiaoyanlibrary] The connection to ADB are down, and a severe error has occured.
[2015-07-19 15:08:29-testxiaoyanlibrary] You must restart ADB and Eclipse.
[2015-07-19 15:08:29-testxiaoyanlibrary] Please ensure that ADB was correctly located at ' G:\eclipse\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\ Adb.exe ' and can be executed.
To Baidu a bit, may be the following situation:
A: The simulator is unstable and sometimes requires a re-deployment of the environment, sometimes with the need to re-establish the simulator and create a new AVD.
B: The default port may be occupied, type netstat in cmd, turn off conflicting port programs, or set a new port.
C: Add the Platform-tools directory and the tools directory to the PATH environment variable.
D: Turn eclipse into DDMS mode and restart ADB and Eclipse.
Solution:
(1) The general situation does not need too much trouble, directly switch to the DDMS page, select Reset adb.
(2) If the first step, or not, do the following: (Operation in Win7)
Start Task Manager--Process page--Find and select the Adb.exe process--end the process--and take the first step
(3) If you find that the status of the virtual machine is not online, turn it off, restart the open, then.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
[Android] The connection to ADB are down, and a severe error has occured.