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!

Problems connecting Eclipse to Android emulator
Tagged on:         

3 thoughts on “Problems connecting Eclipse to Android emulator

    • December 22, 2011 at 20:47
      Permalink

      Your welcome 🙂

      Reply
  • June 5, 2012 at 16:16
    Permalink

    wow that was Extremely helpful!
    thanks:)

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.