"An existing connection was forcibly closed by the remote host" in eclipse

I use Eclipse to create Android applications and have tested them on my HTC One X. I have installed drivers from HTC Sync, and Eclipse has been updated. Recently, this connection just stopped working. A computer (running Windows 8 Pro 64-bit) detects One X, and I can view files on it from my computer. However, Eclipse does not see the phone when I go to start the application, and whenever I connect my phone to start Eclipse, I get this error:

[2013-07-09 14:47:43 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host [2013-07-09 14:48:15 - DeviceMonitor] Connection attempts: 1 

In addition, the HTC sync manager tells me that my phone is locked and that it cannot extract information from it, even though the phone is unlocked. I tried reset ADB and it did not work. Debugging is enabled on the phone. How can I fix this error?

thanks

+3
source share
2 answers

Check if two adb versions are installed. Eclipse installs one and maybe HTC Sync installed the other. They may be different versions. You will need to make some way to get both applications to use the same adb version.

You can find ADB in your path by typing the following at a command prompt:

 where adb.exe 
+2
source

I am making a very approximate solution for this, just delete the .android folder and close android studio and restart android studio.

0
source

Source: https://habr.com/ru/post/1238623/


All Articles