我正在使用Android平台4.3和sdk版本18.当我尝试运行helloworld应用程序时,模拟器启动,几乎立即断开连接。当我通过终止adb并再次启动adb调试DDMS视图并列出adb时,它不会显示任何模拟器。它抛出以下异常:
[2014-08-19 16:08:32 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host
[2014-08-19 16:08:33 - DeviceMonitor] Connection attempts: 1
[2014-08-19 16:08:59 - DDMS] device offline
com.android.ddmlib.AdbCommandRejectedException: device offline
at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:774)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:396)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:347)
at com.android.ddmlib.Device.executeShellCommand(Device.java:609)
at com.android.ddmuilib.SysinfoPanel$1.run(SysinfoPanel.java:209)
at java.lang.Thread.run(Unknown Source)
请帮助找到有关如何将模拟器与adb关联的问题的解决方案。
感谢。