コマンドプロンプトを使用してAndroidアプリケーションを実行しようとすると、コマンドプロンプトでadbステータスを実行するとハングし、コマンドプロンプトに「デバイスを待機しています」というメッセージが表示されます。エミュレータを閉じてアプリケーションを実行する必要があるたびに。これが私のlogcatエラーです。友達を助けてください。
[2012-12-28 15:48:49 - DeviceMonitor] Adb connection Error:An existing
connection was forcibly closed by the remote host [2012-12-28 15:48:49
Unexpected error while launching logcat. Try reselecting the device.] An existing connection was forcibly closed by the remote host
java.io.IOException: An existing connection was forcibly closed by the
remote host 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.executeRemoteCommand(AdbHelper.java:395)
at com.android.ddmlib.Device.executeShellCommand(Device.java:462) at
com.android.ddmuilib.logcat.LogCatReceiver$1.run(LogCatReceiver.java:110)
at java.lang.Thread.run(Unknown Source)
[2012-12-28 15:48:50 - DeviceMonitor] Connection attempts: 1