Problem

Android development with Eclipse IDE, sometime it hit following “adb” error message and caused the application fail to start?


[2011-11-22 15:17:07 - HelloWorld] ------------------------------
[2011-11-22 15:17:07 - HelloWorld] Android Launch!
[2011-11-22 15:17:07 - HelloWorld] The connection to adb is down, and a severe error has occured.
[2011-11-22 15:17:07 - HelloWorld] You must restart adb and Eclipse.
[2011-11-22 15:17:07 - HelloWorld] Please ensure that adb is correctly located at 
   'C:\Android\android-sdk\platform-tools\adb.exe' and can be executed.

P.S Restart Eclipse will not get rid of the error message.

Solution

In some cases, Android project may get crashed or shutdown abnormally, and caused the “adb.exe” to function abnormally.

To solve it, just restart the “adb.exe” process. Restart the Eclipse will not shut down the “adb.exe” process automatically, you need to kill it manually.

For example, in Windows, just use task manager to kill the process.

adb.exe error