Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADB Connection Error

Ajoy SinhaJun 25 2013

Hi,

       I am working on ADF mobile for android app development, But i have noticed, whenever I have started Emulator and try to deploy an application in Emulator, I had received following error on console.

       Could you please help me to get rid of it.

[2013-06-25 12:25:54 - DeviceMonitor] Adb connection Error:An existing connection was forcibly closed by the remote host

[2013-06-25 12:25:54 - 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)

Thanks

Ajoy Sinha

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 23 2013
Added on Jun 25 2013
0 comments
625 views