Reputation: 153
My app runs differently when run from Eclipse in debug mode, or when run from an exported signed application. I have not been specifying any proguard config in project.properties. Am I still getting some default proguard optimizations and obfuscations? Does proguard always run when exporting a signed binary using the generic config in the tools directory of the sdk?
Upvotes: 0
Views: 521
Reputation: 9117
Nope. You have to enable it. It's not enabled by default. http://developer.android.com/tools/help/proguard.html
To enable ProGuard so that it runs as part of an Ant or Eclipse build, set the proguard.config property in the /project.properties file. The path can be an absolute path or a path relative to the project's root.
Upvotes: 1