Skip to content Skip to sidebar Skip to footer

How To Solve The Failed Verification With Zipalign?

I have a problem with zipalign. I can't go through the proces. Each run ends with Verification FAILED. For some files i see something like this 2574474 res/drawable-xxxhdpi-v4/abc_

Solution 1:

Seems like gradle has pushed a new version without the zipalign task. I had the same issue after changing this:

classpath 'com.android.tools.build:gradle:2.+'

to

classpath 'com.android.tools.build:gradle:2.1.2'

The problem was solved for me.

Solution 2:

Chen is right. When you upgrade your AS, you need to check your build.grade.

buildscript { repositories { jcenter() } 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 } }

check that gradle version is 2.1.2 or not. I try 2.2.0-alpha3, and always get zipalign fialed. Just downgrade grade version to 2.1.2 Then solve this problem.

Try it.

Post a Comment for "How To Solve The Failed Verification With Zipalign?"