简体   繁体   中英

Android SDK Eclipse Debug Mode

How do you turn off or turn on debug mode in eclipse. I'm not even sure I'm "in" debug mode, how do I find this out?

There is an attribute android:debuggable set to true in my manifest. If i remove this, is "debug mode" turned off?

If your goal is to make your apk impossible to debug, then yes, android:debuggable="false" is enough.

In Eclipse you can choose to run your project in "debug mode", which means it will try to attach the debugger to your application. If the android:debuggable attribute is set to false, then it will fail.

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