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
Post a Comment