Android Studio: java.io.IOException: An existing connection was forcibly closed by the remote host

前端 未结 7 1241
情深已故
情深已故 2020-12-18 19:21

I read many posts to fix this problem. None worked for me.

Error:

Target device: lenovo-lenovo_a6000-89a70dc9
Installing APK: C:\\Us         


        
相关标签:
7条回答
  • 2020-12-18 19:47

    I closed my virtual devices, opened windows task manager, and killed all adb.exe tasks -- there was one constant one and another that would appear then disappear. Aftwerwards, i started my virtual device and everything worked again.

    0 讨论(0)
  • 2020-12-18 19:50

    Make sure that no other program is trying to take control of the ADB. You can check this by opening task manager, right clicking on any of the adb.exe, and opening the file location. Turns out that my HTC sync manager had it's own ADB and wanted to run it all the time. I uninstalled the program and haven't had issues since.

    0 讨论(0)
  • 2020-12-18 19:51

    I also faced same problem, just change computer USB port and problem solved. or use genymotion emulator

    0 讨论(0)
  • 2020-12-18 19:55

    Restarting adb.exe worked for me. (For windows, Just Go to taskManager and kills the adb.exe process and re-deploy)

    0 讨论(0)
  • 2020-12-18 20:00

    In my case, I had to change the USB debugging cable.

    0 讨论(0)
  • 2020-12-18 20:05

    I also faced same problem,this was a just port problem,I was using computer front USB port ,just use computer back USB port and problem solved.

    0 讨论(0)
提交回复
热议问题