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

19,714

Solution 1

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)

Solution 2

Make sure to connect with Camera (PTP) http://www.techotopia.com/index.php/Testing_Android_Applications_on_a_Physical_Android_Device_with_ADB

Share:
19,714
user2755399
Author by

user2755399

merge keep

Updated on June 19, 2022

Comments

  • user2755399
    user2755399 almost 2 years

    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.