Error: Adb connection Error:An existing connection was forcibly closed by the remote host
Well, its not compulsory to restart the emulator you can also reset adb from eclipse itself.
1.)
Go to DDMS and there is a reset adb option, please see the image below.
2.) You can restart adb manually from command prompt
run->cmd->your_android_sdk_path->platform-tools>
Then write the below commands.
adb kill-server - To kill the server forcefully
adb start-server - To start the server
UPDATED:
F:\android-sdk-windows latest\platform-tools>adb kill-server
F:\android-sdk-windows latest\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Error: Adb connection Error:An existing connection was forcibly closed by the remote host
I needed to update my adb version to 1.0.31 as indicated in the note in the link below.
http://developer.android.com/tools/device.html#setting-up
However, I then ran into a problem with the Android API 19 SDK platform not upgrading. Apparently this is a known issue and the next link gave suggestions to over come this.
Android SDK Manager doesn't load the latest Android SDK Platform (API 17)
Can't run app on my phone for testing: Adb connection Error:An existing connection was forcibly closed by the remote host
Found the solution to my own problem after much troubleshooting.
Just go to Device Manager and under the Action tab, click on Update Driver Software and it will automatically fix the problem for you by adding "Android USB Devices" to your Device Manager.
Related Topics
Indoor Positioning System Based on Gyroscope and Accelerometer
How Does Push Notification Technology Work on Android
Bind Service to Activity in Android
How to Define Different Dependencies for Different Product Flavors
In Android App Toolbar.Settitle Method Has No Effect - Application Name Is Shown as Title
How to Make an Android App to Always Run in Background
Best Way to Have Paid and Free Version of an Android App
How to Size an Android View Based on Its Parent's Dimensions
Android: How to Convert String to Date
Install_Failed_Update_Incompatible When I Try to Install Compiled .Apk on Device
Local Image Caching Solution for Android: Square Picasso, Universal Image Loader, Glide, Fresco
How to Programmatically Set the Layout_Align_Parent_Right Attribute of a Button in Relative Layout
Scale Image to Fill Imageview Width and Keep Aspect Ratio
How to Make Sticky Headers in Recyclerview? (Without External Lib)