简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM