Encountered a problem description:
Run the Android console output
[2012-07-18 16:18:26-] The connection to ADB are down, and a severe error has occured. [2012-07-18 16:18:26-] You must restart ADB and Eclipse. [2012-07-18 16:18:26-] Please ensure this adb is correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.
Solve the problem:
Baidu Google many said that the task manager kill the ADB or restart the ADB server, but I do not have the task manager adb, speculation that a program occupies the ADB port. Then follow this idea to find.
5037 view this port for the ADB default port as follows:
Netstat-aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540
Discovery 6540 takes up 5037 ports, continues to view 6540 of the task, and discovers that it is Wandoujia. as shown below
Tasklist|findstr "6540"
Wandoujia_daemon.exe 6540 Console 1 4,276 K
The next problem is solved, in the task Manager kill Wandoujia_daemon.exe, run the Android program, OK.
1. Error: BUILD FAILED d:\workspace\ganji\build.xml:144:the following error occurred while executing this LINE:D:\WORKSPA ce\ganji\build.xml:271:unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar
WORKAROUND: An emulator has been opened and cannot be recompiled and must be closed. For Ant
2. Error: The connection to ADB are down, and a severe error have occured. Who can solve this problem?
Workaround: cmd jumps to the SDK tools file path under ADB kill-server and then adb start-server
3. Error: The connection to ADB are down, and a severe error have occured.
[2010-03-11 09:36:56-helloopone] You must restart ADB and Eclipse.
[2010-03-11 09:36:56-helloopone] Please ensure this adb is correctly located at ' D:\OPhoneSDK_1.5 \platform-tools\adb.exe ' and can be executed.
Workaround: Method 1.cmd in adb kill-server, then Adb-startserver
Method 2. Method 1 doesn't work, kill Adb.exe in Task Manager, and then restart Eclipse.
Method 3. Methods 1 and 2 do not work, then look at the last sentence of the error: Platform-tools Adb.exe (my error is that there is no Platform-tools folder under the relevant path, so I chose to create a new folder, and copy all of the files in tools to Platform-tools)
4. The previous method to try or not, it is recommended to re-install a system, it is better to change a system. Some Daniel also said: Ms has some minor problems
Android Run Error