Problem
While building an Android app project under Studio, the build process terminated with the error,
/home/user1/Android/Sdk/build-tools/22.0.1/zipalign: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
Error:Execution failed for task ':app:zipalignDebug'.
> Process 'command '/home/user1/Android/Sdk/build-tools/22.0.1/zipalign'' finished with non-zero exit value 127
Solution
The problem was resolved by installing the lib32z1 package.
$ sudo apt-get install lib32z1
Related Posts
Error while executing the dig command1.0 Error While executing the dig command, the sendmsg() failed: Operation not permitted error was printed. $ dig example.com ../../../../lib/isc/unix/net.c:581: sendmsg() failed: Operation not permitted ../../../../lib/isc/unix/net.c:581: sendmsg() failed: Operation not…
nginx 502 Bad Gateway ErrorPROBLEM A routine software update on the server running nginx was done. After that the website stopped opening in the browser window and 502 Bad Gateway error along with the…
Recaptcha: Error for site owner1.0 Error The login form for a Drupal based site had the username, password and recaptcha fields. However, instead of showing the image and input box, recaptcha displayed ERROR for…