Proguard Claims To Obfuscate The .apk, But Does Not
Solution 1:
This worked for me in Eclipse Neon:
Right click on project and add the Gradle nature
File -> Export -> Android -> Generate Gradle build files
In the root directory of your project, create a local.properties file and set sdk.dir. See: Where does local.properties go for android project?
Right click on project -> Gradle -> Refresh Gradle Project
Enable code shrinking in build.gradle. See: https://developer.android.com/studio/build/shrink-code.html
Put your Proguard configuration in proguard-rules.pro (or in a different file if you set the proguardFiles property in build.gradle accordingly)
Open the Gradle Tasks view and run the assembleRelease task. Check the console to see if it ran successfully. If it went well, refresh your project directory and the .apk file(s) will be in the build/outputs/apk subdirectory.
Post a Comment for "Proguard Claims To Obfuscate The .apk, But Does Not"