Jump to content
Android Forum - A Community For Android Users and Enthusiasts

An established connection was aborted by the software in your host machine

EGD Eric

Recommended Posts

Hi, I just started developping for Android, using the Eclipse plugin. I keep getting the following errors in the console when I run an application, they happen again and again as the app is running. The only way to stop this it seems is to delete the AVD and re-create it, then I can do a run, but then the second time I run it, I'll get the same errors. I'm not doing much with my app yet, so I'm not sure if this is causing any problems (already, my services won't work, but this might not have anything to do with it). I have no idea what this means, but it must be pretty serious... there has to be a way to get rid of this error message other than erasing and re-creating the AVD every time.


java.io.IOException: An established connection was aborted by the software in your host machine
   at sun.nio.ch.SocketDispatcher.write0(Native Method)
   at sun.nio.ch.SocketDispatcher.write(Unknown Source)
   at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
   at sun.nio.ch.IOUtil.write(Unknown Source)
   at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
   at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
   at com.android.ddmlib.Client.sendAndConsume(Client.java:575)
   at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)
   at com.android.ddmlib.Client.requestAllocationStatus(Client.java:421)
   at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:837)
   at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:805)
   at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:765)
   at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:652)
   at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44)
   at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:580)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...