proguard - Can't release without runProguard false in Android Studio -


i tried uploading apk googleplay because of this.

you uploaded apk not zip aligned. need run zip align tool on apk , upload again.

so added buildtypes using zipalign proguard in build.gradle

buildtypes {         release {             runproguard true             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt'             zipalign true         }     } 

but got error code during making signed apk file.

generate signed apk: errors while building apk, see messages tool window list of errors.

so tried building signed apk setting runproguard false, worked.

but i wondering why couldn't make signed apk proguard.

check location , path key signature.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -