Problem
- Example] The connection to adb is down, and a severe error has occured.
- Example] You must restart adb and Eclipse.
- Example] Please ensure that adb is correctly located at
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.
Try below steps:
- Close the Eclipse if running
- Go to the Android SDK platform-tools directory in Command Prompt
- type
adb kill-server
- then type
adb start-server
- No error message is thrown while starting ADB server, then adb is started successfully.
- Now you can start Eclipse again.
it worked for me this way, Eclipse should be closed before issuing these commands.
Restart your phone as well!