java - android 已建立的连接被主机中的软件中止

标签 java android

[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)

您好,运行SQLite应用程序(在Eclipse中)后出现问题,我搜索了很多类似的问题,但没有一个解决方案可以解决我的问题。

谁能帮我解决这个问题?谢谢。

问题图片如下:

http://imgur.com/SkouxKC

http://imgur.com/o93VnuF

最佳答案

您的机器上可能正在运行两个 eclipse 实例。尝试重新启动 eclipse 和/或重新启动 adb。检查以下链接是否存在类似问题。

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

关于java - android 已建立的连接被主机中的软件中止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22743890/

相关文章:

android - 使用 Android Google Maps Api v2 打开街道 map

android - FlutterView 未在 Android 中显示 Widget UI

基于 Java 的简单规则引擎,具有后备功能

java - Android:如何将位图图像传递到 ArrayList<Bitmap> 并检索它

Java KeyListener 与键绑定(bind)

java - 使用 JNI 从 Android 应用程序向 C++ 发送字符串

android - 我正在制作一个简单的 Dashclock 日历扩展,但它停止了更新

java - swt 中新窗口中的不确定进度条

java - 简单的 Java GUI 作为弹出窗口和下拉菜单

java - RxJava : How to conditionally apply Operators to an Observable without breaking the chain