Adb connection Error

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Adb connection Error

Postby jayesh.thadani » Wed Apr 01, 2009 10:43 am

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)
jayesh.thadani
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Jan 13, 2009 2:50 pm
Location: India

Top

Postby alpesh_harsoda » Wed Apr 29, 2009 3:14 pm

Regards,
Alpesh Patel,
Logistic Infotech
http://www.logisticinfotech.com
User avatar
alpesh_harsoda
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat Sep 20, 2008 12:35 pm
Location: Rajkot,Gujarat(India)

Re: Adb connection Error

Postby jayesh.thadani » Thu Nov 18, 2010 7:29 am

Hi Alpesh,
yes figured out that problem, but still after a long evolution of android platform. Still same issue arises often.

Thanks,
Jayesh
jayesh.thadani
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Jan 13, 2009 2:50 pm
Location: India

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests