Johann
Johann

Reputation: 29877

What makes this Android app debuggable

Until now, when I make a debuggable version of my app I use:

android:debuggable="true"

in the manifest.

But I just downloaded some source code that doesn't use this and yet when I launch it with Debug, it is in debug mode. Where is the debug flag set for this app?

Upvotes: 5

Views: 1338

Answers (1)

nneonneo
nneonneo

Reputation: 179582

ADT does that for you when you run in debug mode. From the docs:

Ensure that your application is debuggable by setting the android:debuggable attribute of the element to true. As of ADT 8.0, this is done by default when you build in debug mode.

Upvotes: 5

Related Questions