[英]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: 我已经安装了Debian 8,并且没有问题地安装了Android Studio,但是当我运行在Ubuntu 15.04上安装Android Studio时创建的应用程序时,出现此错误:
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. 我知道这个问题已有4个月的历史了,但是我将答案放在这里,以便对他人有所帮助。 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
加载共享库时出错:libz.so.1:无法打开共享库文件:没有这样的文件或目录
So the following command helped me, I hope it helps you too. 因此,以下命令对我有帮助,希望对您有所帮助。
sudo apt-get install lib32z1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.