Error: "Adb Connection Error:An Existing Connection Was Forcibly Closed by the Remote Host"

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

Well, its not compulsory to restart the emulator you can also reset adb from eclipse itself.

1.)
Go to DDMS and there is a reset adb option, please see the image below.

Sample Image

2.) You can restart adb manually from command prompt

  run->cmd->your_android_sdk_path->platform-tools>

Then write the below commands.

adb kill-server - To kill the server forcefully

adb start-server - To start the server

UPDATED:

F:\android-sdk-windows latest\platform-tools>adb kill-server

F:\android-sdk-windows latest\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

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

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)

Can't run app on my phone for testing: Adb connection Error:An existing connection was forcibly closed by the remote host

Found the solution to my own problem after much troubleshooting.

Just go to Device Manager and under the Action tab, click on Update Driver Software and it will automatically fix the problem for you by adding "Android USB Devices" to your Device Manager.



Related Topics



Leave a reply



Submit