When Android is developed, sometimes when we turn on the virtual machine to execute the program. An error similar to the following is reported:
[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. There are times when you need to deploy the environment again, and sometimes you need to build the simulator and create a new AVD.
B: May be the default port is occupied, type netstat in cmd to view. Switch off the conflicting port program, or set a new port.
C: Add the Platform-tools folder and the Tools folder to the PATH environment variable.
D: Turn eclipse into DDMS mode and restart ADB and Eclipse.
How to resolve:
(1) The general situation does not need to be too troublesome. Switch directly to the DDMS page and select reset adb to do so.
(2) If the first step, or not, run the operation: (Operation in Win7)
Start Task Manager--Process page--Find and select the Adb.exe process--end the process--and take the first step
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /southeast ">
(3) If you find that the status of the virtual machine is not online, turn it off, and restart it to open it.
[Android] The connection to ADB are down, and a severe error has occured.