android - Application is waiting for debugger to attach

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

android - Application is waiting for debugger to attach

Postby learner2011 » Mon Mar 05, 2012 10:36 pm

I am trying to debug my android application on the emulator using eclipse. However, when the application starts up, this error comes up -

The application is waiting for debugger to attach

and the emulator hangs in that screen forever. When I click on DDMS view or debug view on eclipse, eclipse also hangs.

I have tried all these methods -

1) adding <uses-permission android:name="android.permission.SET_DEBUG_APP"></uses-permission>
2) adding android:debuggable="true"
3) changing the line ::1 localhost with localhost in host configuration file (C:\Windows\System32\drivers\etc\hosts)
4) Making sure only 1 instance of eclipse was open
5) Restarting Eclipse and windows
However, none of the above steps seem to solve the problem for me.

It would be great if someone could help me out with this.
Once Poster
Once Poster
Posts: 1
Joined: Mon Mar 05, 2012 10:30 pm


Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 5 guests