I am using Windows 7 and JDK 6.
I downloaded the package of Android SDK with Eclipse and followed the instructions to create the first Hello World application.
However, when I stand on MainActiviy.java and click on run I get the following error in the console:
Connection with adb was interrupted You may want to manually restart
adb from the Devices view.
I tried many answers that I saw here:
1. Restart adb server
2. Make sure that the path is to the correct JDK
3. I went over preferences and didn’t see any warning or error.
I can run the emulator- and it works fine. But it doesn’t run the Hello World application.
What is wrong?
I had to go to DDMS view, and in view menu of the devices, to choose:
restart ADB.
This made everything work fine