Blog

DDMS not finding Emulator?


When developing in eclipse with Android applications there is some buggy things that comes up once a while.

One is that the DDMS do not find the emulator, and there is no log when the Android is starting up, which also means that you do not see anything and cannot debug your app.

There are some ways of fixing this.. all need a console (cmd) to type in.

Try using the “Reset adb” option from the DDMS Devices view menu, or restarting the server at the command line:

adb kill-server
adb start-server 

If that does not work, then try this instead:
Start Emulator, wait for it to come up, then type the following

adb kill-server
adb logcat -c

If lucky, the logcat command promt will restart the process and you will find the log to start in both eclise and command-promt. This will also give DDMS the right push to find the emulator and it is now possible to debug it in Eclipse.

4 Responses to "DDMS not finding Emulator?"

  1. Åke Svedin Posted on November 8, 2010 at 15:55 | Permalink

    Thanks so much!!

    Been trying to connect for hours, the “adb logcat -c” part did the trick. Now saved as a batch-file :)

  2. Andreas Mattisson Posted on December 23, 2010 at 12:11 | Permalink

    @Åke Svedin

    Since it was not possible to comment on your page, could tell that the “Gmail Informer 0.5.0 Beta” also works at Vista ;)

  3. Jannik Posted on June 10, 2011 at 13:52 | Permalink

    Hi Andreas,

    I have tried everything but the DDMS tab still is empty, not picking up my emulator at all.
    I have written a couple of Android apps in Eclipse (x86) which works fine with the emulator but I just can’t crack this.

  4. Jannik Posted on June 10, 2011 at 13:59 | Permalink

    Hi,

    I figured it out!

Leave a Reply