Error "The connection to adb is down, and a severe error has occurred."
I've spent days trying to launch any Android program. Even "Hello World" gives me the same error:
"The connection to adb is down, and a severe error has occurred".
I'm running Eclipse v3.5 (Galileo), Google APIs 2.2.8, on a Windows XP machine.
I've used all the tricks I can find on the web: the command line "adb kill-server", the DDMS "reset ADB", I started the emulator both before and after Eclipse, and searched for ports being used by other programs.
What is going on here? Is there a magic combination of versions of Eclipse, Java, ADB, emulator, and whatever else that works?
Try the below steps:
- Close Eclipse if running
- Go to the Android SDK platform-tools directory in the command prompt
adb kill-server(Eclipse should be closed before issuing these commands)
- Then type
- No error message is thrown while starting the ADB server, then ADB is started successfully.
- Now you can start Eclipse again.
It worked for me this way.
Restart your phone as well!
Read more... Read less...
Open Task Manager → Processes → adb.exe → End Process → restart Eclipse
This worked for me.
Open Task Manager → Processes → eclipse.exe → End Process → restart Eclipse
Open up the Windows task manager, kill the process named adb.exe, and re-launch your program.
[2012-07-04 11:24:25 - The connection to adb is down, and a severe error has occurred.
[2012-07-04 11:24:25 - You must restart adb and Eclipse.
[2012-07-04 11:24:25 - Please ensure that adb is correctly located at '/home/ASDK/platform-tools/adb' and can be executed
I realized the folder of the project in Eclipse was closed. I expanded the directory and the project launched. I know this may sound like a "no-brainer". I had the .java files open on the workspace, and that was enough to make me think the project was open.
I tried this using Eclipse Juno and it worked fine:
- From the dropdown of the Run icon, select option Run Configuration.
- Make sure your project is selected
- Go to tab Android
- Under section Launch Action, select Launch Select the package name and voila! try running your application.
UPDATE: It also helps to kill the process adb.exe from the task manager and restart it. adb.exe can be found here: Android\android-sdk\platform-tools.
Update your Eclipse Android development tools. It worked for me.