Can’t connect to your Android emulator from Eclipse?
Every now and then my Eclipse looses the connection to my Android emulator, making it impossible for me to run my projects on it. In Eclipse I also get the error:
Adb connection Error: An existing connection was forcibly closed by the remote host
In most cases you can fix this by just killing the adb server by issuing the command:
adb kill-server
This is done from the command line but you need to be in the Android tools directory to do this.
Restarting the adb from within Eclipse
If you don’t want to go to the command line there is also a way to kill the adb server from within Eclipse.
Open the Devices tab (open per default in the DDMS view).
Then choose Reset adb in the menu located in the top right hand corner of the Devices window (see picture). This should hopefully get your emulator and Eclipse talking again.
Happy coding!
thanks
Your welcome 🙂
wow that was Extremely helpful!
thanks:)