Search code examples
androideclipseadb

Error: Adb connection Error:An existing connection was forcibly closed by the remote host


I am trying to upload a basic program from eclipse to my phone but I have been having difficulties. When I attempt to upload the program, the device chooser says that the target is "unknown." I tried resetting the adb in the DDMS and receive the following error,

"Adb connection Error:An existing connection was forcibly closed by the remote host"

I have searched other posts and tried resetting the adb by clicking on the error in the device view. I also tried killing and re-starting the adb manually in the control prompt. I also tried updating the driver software in the device manager. I also tried downloading the google usb driver from the android developer page (http://developer.android.com/sdk/win-usb.html#top). Nothing has helped.

Any additional help to fix this problem would be appreciated.


Solution

  • I needed to update my adb version to 1.0.31 as indicated in the note in the link below.

    http://developer.android.com/tools/device.html#setting-up

    However, I then ran into a problem with the Android API 19 SDK platform not upgrading. Apparently this is a known issue and the next link gave suggestions to over come this.

    Android SDK Manager doesn't load the latest Android SDK Platform (API 17)