Dennis A. Boanini
Dennis A. Boanini

Reputation: 497

Error:Execution failed for task ':app:zipalignDebug'. > when I run my app on Android Studio

I've installed Debian 8 and I installed Android Studio without problem, but when I run my application, created when I had Android Studio on Ubuntu 15.04, I've this error:

Error:Execution failed for task ':app:zipalignDebug'.
> Process 'command '/home/phate/Android/Sdk/build-tools/22.0.1/zipalign'' finished with non-zero exit value 127

what kind of error is this? How I can resolve?

Thank you at all, Dennis

Upvotes: 1

Views: 2224

Answers (1)

Iman Bagheri
Iman Bagheri

Reputation: 41

I know that this question is 4 months old, but I'm putting the answer here so that it may help someone else. Before the actual error, I got something like this:

error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

So the following command helped me, I hope it helps you too.

sudo apt-get install lib32z1

Upvotes: 4

Related Questions