简体   繁体   中英

Android apk in debug mode

I have some questions about debug mode. I have app with file buildconfig.debug where is

debug = true

  1. Is that means, my app is in debug mode
  2. How can I change this in debug=false
  3. Can I set android:debuggable="false" in manifest so that my app be in relase mode

Thanks.

EDIT: The easiest way to create a signed apk if you're using Eclipse with the ADT plugin, just click File->Export and the Export Wizard will guide you through the process.

"To export an unsigned APK from Eclipse, right-click the project in the Package Explorer and select Android Tools > Export Unsigned Application Package." Then you have to sign it using the Jarsigner tool, etc. See the instructions link below. There are also instructions for if you're not using Eclipse.

Link to Instructions

Make sure you uninstall the debug mode apk from your device before installing the release mode apk or you might get problems.

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