Each time I run the emulator for the first time, I fail to connect to
it. It 'disappears' from ddms just about when it's about to go from
'offline' to 'online' with the following stacktrace:

32:58 E/DDMS: device (emulator-5554) request rejected: device offline
java.io.IOException: device (emulator-5554) request rejected: device
offline
        at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:726)
        at
com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:363)

        at com.android.ddmlib.Device.executeShellCommand(Device.java:
275)
        at
com.android.ddmuilib.SysinfoPanel.loadFromDevice(SysinfoPanel.java:15
6)
        at
com.android.ddmuilib.SysinfoPanel.deviceSelected(SysinfoPanel.java:12
3)
        at
com.android.ddmuilib.SelectionDependentPanel.deviceSelected(Selection
DependentPanel.java:52)
        at com.android.ddms.UIThread.selectionChanged(UIThread.java:
1652)
        at
com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:753
)
        at
com.android.ddmuilib.DevicePanel.notifyListeners(DevicePanel.java:741
)
        at com.android.ddmuilib.DevicePanel.access
$1100(DevicePanel.java:56)
        at com.android.ddmuilib.DevicePanel
$1.widgetSelected(DevicePanel.java:36
0)
        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:474)
        at com.android.ddms.Main.main(Main.java:105)

Does anyone else have this problem?

If I kill adb.exe and emulator.exe and retry, everything works fine.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to