[Android Software Development] Tamen:
Hi,

I've got adb all setup properly and working, but for the first time today I was trying DDMS. It has my DHD there for a few seconds (anywhere from 2-10), then it disappears from the list until I choose "Actions>Reset ADB". Here's the cmd window of DDMS:

04:06:11 E/adb:

04:06:11 E/adb: This application has requested the Runtime to terminate it in an

unusual way.

04:06:11 E/adb: Please contact the application's support team for more informati

on.

04:06:16 W/DeviceMonitor: Failed to connect to client '2807': timeout

04:06:17 E/DDMS: An existing connection was forcibly closed by the remote host

java.io.IOException: An existing connection was forcibly closed by the remote ho

st

at sun.nio.ch.SocketDispatcher.read0(Native Method)

at sun.nio.ch.SocketDispatcher.read(Unknown Source)

at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)

at sun.nio.ch.IOUtil.read(Unknown Source)

at sun.nio.ch.SocketChannelImpl.read(Unknown Source)

at com.android.ddmlib.AdbHelper.read(AdbHelper.java:640)

at com.android.ddmlib.AdbHelper.read(AdbHelper.java:616)

at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:216)

at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:734)

at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:373)

at com.android.ddmlib.Device.executeShellCommand(Device.java:276)

at com.android.ddmuilib.SysinfoPanel.loadFromDevice(SysinfoPanel.java:15

9)

at com.android.ddmuilib.SysinfoPanel.deviceSelected(SysinfoPanel.java:12

6)

at com.android.ddmuilib.SelectionDependentPanel.deviceSelected(Selection

DependentPanel.java:52)

at com.android.ddms.UIThread.selectionChanged(UIThread.java:1684)

at com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:752

)

at com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:740

)

at com.android.ddmuilib.DevicePanel.access$1100(DevicePanel.java:56)

at com.android.ddmuilib.DevicePanel$1.widgetSelected(DevicePanel.java:35

7)

at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)

at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at com.android.ddms.UIThread.runUI(UIThread.java:492)

at com.android.ddms.Main.main(Main.java:103)

04:06:17 E/DeviceMonitor: Adb connection Error:An existing connection was forcib

ly closed by the remote host

04:06:17 W/DeviceMonitor: Failed to connect to client '2840': An existing connec

tion was forcibly closed by the remote host

04:06:19 E/DeviceMonitor: Connection attempts: 1

04:06:19 E/Logcat: Connection refused: connect

java.net.ConnectException: Connection refused: connect

at sun.nio.ch.Net.connect(Native Method)

at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)

at java.nio.channels.SocketChannel.open(Unknown Source)

at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:367)

at com.android.ddmlib.Device.executeShellCommand(Device.java:284)

at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)

04:06:19 W/DeviceMonitor: Failed to connect to client '2906': Connection refused

: connect

04:06:20 W/DeviceMonitor: Failed to connect to client '2938': Connection refused

: connect

04:06:20 E/EventLog: Connection refused: connect

java.net.ConnectException: Connection refused: connect

at sun.nio.ch.Net.connect(Native Method)

at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)

at java.nio.channels.SocketChannel.open(Unknown Source)

at com.android.ddmlib.AdbHelper.runLogService(AdbHelper.java:464)

at com.android.ddmlib.AdbHelper.runEventLogService(AdbHelper.java:445)

at com.android.ddmlib.Device.runEventLogService(Device.java:290)

at com.android.ddmuilib.log.event.EventLogPanel$8.run(EventLogPanel.java

:454)

04:06:21 E/DeviceMonitor: Connection attempts: 2

04:06:21 W/DeviceMonitor: Failed to connect to client '3047': Connection refused

: connect

04:06:22 W/DeviceMonitor: Failed to connect to client '3078': Connection refused

: connect

04:06:23 E/DeviceMonitor: Connection attempts: 3

04:06:25 E/DeviceMonitor: Connection attempts: 4

04:06:27 E/DeviceMonitor: Connection attempts: 5

04:06:32 E/DeviceMonitor: Connection attempts: 6

04:06:34 E/DeviceMonitor: Connection attempts: 7

04:06:38 E/DeviceMonitor: Connection attempts: 8

04:06:40 E/DeviceMonitor: Connection attempts: 9

04:06:42 E/DeviceMonitor: Connection attempts: 10

04:06:44 E/DeviceMonitor: Connection attempts: 11

Any ideas are appreciated :)