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?
I've tried the above methods, end the adb process through task manager and all, it didn't work. But when I ran the adb.exe file as admin it worked fine.
Go to the folder
platform-tools
incmd
folder platform tools available in the Android folder where you have Android backup files.Type the following
and
then type
You can now see your device.
Eclipse → preferences → Android → NDK
Check the "NDK Location" path is set correctly, and use the browse button to set it.
Close Eclipse
Use this in the terminal:
Run Eclipse.
AndroidSDK → Platform Tools → Kill did not work.
But after restarting my computer, it worked.
Open up the Windows task manager, kill the process named adb.exe, and re-launch your program.