Kishan
Kishan

Reputation: 424

Attaching debugger - android problem

I am new to android application development. Whenever I run a new app, after it gets installed and the activity launches, it displays a message saying "application is waiting for the debugger to attach" on the emulator. After that, application runs properly. But I am not getting what that message is and how I can stop it from getting displayed. Could anyone help me...?

Upvotes: 2

Views: 1055

Answers (2)

visista
visista

Reputation: 256

its normal... when debugging it takes some time to connect to device or emulator. Its not a error message and u need not worry about it.

Some applications(I assume not yours) needs to have permissions to debug, then u need to have this code

<manifest>
<uses-permission android:name="android.permission.SET_DEBUG_APP"></uses-permission>
</manifest> 

In your manifest file .

or else have this

android:debuggable="true"

in the application tag in the AndroidManifest.xml

thanks

Upvotes: 1

mibollma
mibollma

Reputation: 15108

It means you run the application in debug mode to solve problems using the button shown on the screenshot.

Try the button at the right beside the debug button instead.

enter image description here

Upvotes: 1

Related Questions