Zentorno
Zentorno

Reputation: 21

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

[2014-03-30 19:55:57 - ddmlib]An established connection was aborted by the software in your host machine
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:642)
    at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)
    at com.android.ddmlib.Client.requestAllocationStatus(Client.java:488)
    at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:835)
    at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:803)
    at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:763)
    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)

Hello, the problems occur after run the SQLite application (in Eclipse), I search a lot of similar questions, but none of the solution can solve my problem.

Can anyone help me to solve this problem? Thanks.

The pictures of problem as below:

https://i.sstatic.net/NtMk3.jpg

https://i.sstatic.net/DK8zO.jpg

Upvotes: 2

Views: 15349

Answers (2)

Aniket Thakur
Aniket Thakur

Reputation: 68975

  1. First make sure you just have one instance of Eclipse running (No other instance of Eclipse or Studio running that is pointing to your same android SDK).
  2. If above setup is correct try killing and restarting adb server by adb kill-server and then adb start-server
  3. If even this does not work consider restarting your Eclipse or your machine.

Upvotes: 0

Babu Prasad
Babu Prasad

Reputation: 344

There might be a chance that two eclipse instance are running on your machine. Try restarting eclipse and/or restart adb. Check below link for the similar issue.

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

Upvotes: 1

Related Questions