user2512888
user2512888

Reputation: 191

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

I am trying to run an app that I made on my phone to test, but my device does not come up in the Devices tab in DDMS. Below is the error I get when I "Reset adb" in DDMS for android in eclipse. I've googled this error and issue for hours but none of the solutions have worked for me like resetting the adb and killing the processes. I don't know if this matters, but I am using a HTC One. The error is:

[2013-11-22 01:59:03 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2013-11-22 01:59:04 - DeviceMonitor] Connection attempts: 1

Please help!

Upvotes: 3

Views: 13988

Answers (4)

Ivan Ikikame
Ivan Ikikame

Reputation: 1

Don't forget to consider Hardware failure!

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

Facing the same problem I found out the USB cable I was using was slightly damaged, enough to cause constant connection failure. I didn't have problems accessing data on the phone, so it took me a while to find it out.

I replaced the cable and it works fine now!

Upvotes: 0

user2512888
user2512888

Reputation: 191

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.

Upvotes: 7

Coderji
Coderji

Reputation: 7765

Hopefully this will work with you, I had same problem with my HTC ONE in windows 8 so what I did is that I download the HTC drivers for windows 8, now the same driver works for windows 7 so follow this link it has detailed steps on how to do it. please give me a feedback whether it worked or not.

Upvotes: 2

matejs
matejs

Reputation: 3536

I've had problems with HTC devices not being recognized by DDMS. 90% of the time i solved it by installing HTC software (i think it was HTC sync, but im not sure).

Also, make sure you installed USB debug tools from Android SDK manager.

Upvotes: 1

Related Questions