Hello All,
After i close my application, immediately after 1-2 min i get error like mentioned below, with unusual time, and after restarting application it works fine.
Generally it throws error like this, And i am not been able to conclude the problem.
Even firewall is turned off.
[2009-04-01 15:03:59 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2009-04-01 15:03:59 - adb]
[2009-04-01 15:03:59 - ddms]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.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(Unknown Source)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.write(Unknown Source)
at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
at com.android.ddmlib.AdbHelper.write(Unknown Source)
at com.android.ddmlib.AdbHelper.write(Unknown Source)
at com.android.ddmlib.AdbHelper.setDevice(Unknown Source)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(Unknown Source)
at com.android.ddmlib.Device.executeShellCommand(Unknown Source)
at com.android.ddmlib.FileListingService.doLs(Unknown Source)
at com.android.ddmlib.FileListingService.access$3(Unknown Source)
at com.android.ddmlib.FileListingService$1.run(Unknown Source)