简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM