Emre Alparslan Emre Alparslan - 4 months ago 17
Android Question

"zipAlignExe' does not exist." error while running my project on Android Studio

I'm getting error below this,

Error:A problem was found with the configuration of task ':project1:zipalignDebug'.
> File 'D:\Program Files\Android Studio\sdk\tools\zipalign.exe' specified for property
'zipAlignExe' does not exist.


I downloaded all packages in sdk, I downloaded twice a packages about zipAlign but it didn't solve my problem.

Please help. Thank you.

JJD JJD
Answer

In case you run into the following Gradle build error after updating your Android SDK:

A problem was found with the configuration of task ':MyApp:zipalignRelease'.
File '/home/user/SDKs/android-sdk-linux_x86/tools/zipalign' specified for property 'zipAlignExe' does not exist.

Therefore, I updated the android-sdk-setup script to also symlink zipalign. Gradle now finds what it is looking for. Happy building!