Saturday, June 25, 2016

Android Studio 2.2 Preview - How to Fix Zipalign Verification Failed


ola, if you gonna upload your apk to play store and got stuck in zipalign that show "verification failed", i assume you use android studio 2.2 preview X. this problem is new in android development, i spent 4 hour to find the solution and finally got a usefull disscussion here https://groups.google.com/forum/#!topic/android-developers/ehczF0P4vWk 

so, the solution is..... DOWNGRADE YOUR GRADLE VERSION -,-

open build.gradle and change the classpath

dependencies {
    classpath 'com.android.tools.build:gradle:2.2.0-alpha3'
    // NOTE: Do not place your application dependencies here; they belong    // in the individual module build.gradle files}


become this

dependencies {
    classpath 'com.android.tools.build:gradle:2.1.2'
    // NOTE: Do not place your application dependencies here; they belong    // in the individual module build.gradle files}

that is ALL. thankyou :D 

No comments:

Post a Comment

Powered by Blogger.