Java. io. IOException: the software in your host suspends a established connection.

Source: Internet
Author: User

Java. io. IOException: the software in your host suspends a established connection.

1. Error description

 

[19:13:48-ddmlib] the software in your host suspends a established connection. Java. io. IOException: the software in your host suspends a established connection. At sun. nio. ch. socketDispatcher. write0 (Native Method) at sun. nio. ch. socketDispatcher. write (SocketDispatcher. java: 51) at sun. nio. ch. IOUtil. writeFromNativeBuffer (IOUtil. java: 93) at sun. nio. ch. IOUtil. write (IOUtil. java: 65) at sun. nio. ch. socketChannelImpl. write (SocketChannelImpl. java: 487) at com. android. ddmlib. jdwpPacket. writeAndConsume (JdwpPacket. java: 213) at com. android. ddmlib. client. sendAndConsume (Client. ja Va: 675) at com. android. ddmlib. handleHeap. sendREAQ (HandleHeap. java: 342) at com. android. ddmlib. client. requestAllocationStatus (Client. java: 521) at com. android. ddmlib. deviceMonitor. createClient (DeviceMonitor. java: 831) at com. android. ddmlib. deviceMonitor. openClient (DeviceMonitor. java: 799) at com. android. ddmlib. deviceMonitor. processIncomingJdwpData (DeviceMonitor. java: 759) at com. android. ddmlib. deviceMonitor. d EviceClientMonitorLoop (DeviceMonitor. java: 648) at com. android. ddmlib. deviceMonitor. access $100 (DeviceMonitor. java: 44) at com. android. ddmlib. deviceMonitor $ 3.run( DeviceMonitor. java: 576) [19:13:49-ddmlib] the software on your host suspends an established connection. Java. io. IOException: the software in your host suspends a established connection. At sun. nio. ch. socketDispatcher. write0 (Native Method) at sun. nio. ch. socketDispatcher. write (SocketDispatcher. java: 51) at sun. nio. ch. IOUtil. writeFromNativeBuffer (IOUtil. java: 93) at sun. nio. ch. IOUtil. write (IOUtil. java: 65) at sun. nio. ch. socketChannelImpl. write (SocketChannelImpl. java: 487) at com. android. ddmlib. jdwpPacket. writeAndConsume (JdwpPacket. java: 213) at com. android. ddmlib. client. sendAndConsume (Client. ja Va: 675) at com. android. ddmlib. handleHeap. sendREAQ (HandleHeap. java: 342) at com. android. ddmlib. client. requestAllocationStatus (Client. java: 521) at com. android. ddmlib. deviceMonitor. createClient (DeviceMonitor. java: 831) at com. android. ddmlib. deviceMonitor. openClient (DeviceMonitor. java: 799) at com. android. ddmlib. deviceMonitor. processIncomingJdwpData (DeviceMonitor. java: 759) at com. android. ddmlib. deviceMonitor. d EviceClientMonitorLoop (DeviceMonitor. java: 648) at com. android. ddmlib. deviceMonitor. access $100 (DeviceMonitor. java: 44) at com. android. ddmlib. deviceMonitor $ 3.run( DeviceMonitor. java: 576) [19:13:58-ddmlib] the software on your host suspends an established connection. Java. io. IOException: the software in your host suspends a established connection. At sun. nio. ch. socketDispatcher. write0 (Native Method) at sun. nio. ch. socketDispatcher. write (SocketDispatcher. java: 51) at sun. nio. ch. IOUtil. writeFromNativeBuffer (IOUtil. java: 93) at sun. nio. ch. IOUtil. write (IOUtil. java: 65) at sun. nio. ch. socketChannelImpl. write (SocketChannelImpl. java: 487) at com. android. ddmlib. jdwpPacket. writeAndConsume (JdwpPacket. java: 213) at com. android. ddmlib. client. sendAndConsume (Client. ja Va: 675) at com. android. ddmlib. handleHeap. sendREAQ (HandleHeap. java: 342) at com. android. ddmlib. client. requestAllocationStatus (Client. java: 521) at com. android. ddmlib. deviceMonitor. createClient (DeviceMonitor. java: 831) at com. android. ddmlib. deviceMonitor. openClient (DeviceMonitor. java: 799) at com. android. ddmlib. deviceMonitor. processIncomingJdwpData (DeviceMonitor. java: 759) at com. android. ddmlib. deviceMonitor. d EviceClientMonitorLoop (DeviceMonitor. java: 648) at com. android. ddmlib. deviceMonitor. access $100 (DeviceMonitor. java: 44) at com. android. ddmlib. deviceMonitor $ 3.run( DeviceMonitor. java: 576) [19:13:59-ddmlib] the software on your host suspends an established connection. Java. io. IOException: the software in your host suspends a established connection. At sun. nio. ch. socketDispatcher. write0 (Native Method) at sun. nio. ch. socketDispatcher. write (SocketDispatcher. java: 51) at sun. nio. ch. IOUtil. writeFromNativeBuffer (IOUtil. java: 93) at sun. nio. ch. IOUtil. write (IOUtil. java: 65) at sun. nio. ch. socketChannelImpl. write (SocketChannelImpl. java: 487) at com. android. ddmlib. jdwpPacket. writeAndConsume (JdwpPacket. java: 213) at com. android. ddmlib. client. sendAndConsume (Client. ja Va: 675) at com. android. ddmlib. handleHeap. sendREAQ (HandleHeap. java: 342) at com. android. ddmlib. client. requestAllocationStatus (Client. java: 521) at com. android. ddmlib. deviceMonitor. createClient (DeviceMonitor. java: 831) at com. android. ddmlib. deviceMonitor. openClient (DeviceMonitor. java: 799) at com. android. ddmlib. deviceMonitor. processIncomingJdwpData (DeviceMonitor. java: 759) at com. android. ddmlib. deviceMonitor. d EviceClientMonitorLoop (DeviceMonitor. java: 648) at com. android. ddmlib. deviceMonitor. access $100 (DeviceMonitor. java: 44) at com. android. ddmlib. deviceMonitor $ 3.run( DeviceMonitor. java: 576) [19:41:57-DeviceMonitor] Adb connection Error: the remote host forces an existing connection to be closed. [19:41:58-DeviceMonitor] Connection attempts: 1 [19:42:00-DeviceMonitor] Connection attempts: 2 [19:42:02-DeviceMonitor] Connection attempts: 3 [19:42:04-DeviceMonitor] Connection attempts: 4 [19:42:06-DeviceMonitor] Connection attempts: 5 [19:42:08-DeviceMonitor] Connection attempts: 6 [19:42:10-DeviceMonitor] Connection attempts: 7 [19:42:12-DeviceMonitor] Connection attempts: 8 [19:42:14-DeviceMonitor] Connection attempts: 9 [19:42:16-DeviceMonitor] Connection attempts: 10 [19:42:18-DeviceMonitor] Connection attempts: 11

2. Error cause

I use the same SDK in Eclipse and Android Studio, and run the androidproject on Android Studio. In this case, eclipseis also opened, leading to adt.exe running in two software colleagues, resulting in errors.

 

3. Solution

Close one of the software and only one operation is allowed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.