It's the first time that I open a project in android studio, and the first error that i get is the following:
Execution failed for task ':app:mergeDebugResources'. Error: Failed to run command: /home/giacomotb/Programs/android-studio/sdk/build-tools/android-4.4/aapt s -i /home/giacomotb/AndroidStudioProjects/ProvaDBCinema/app/build/exploded-bundles/ComAndroidSupportAppcompatV71900.aar/res/drawable-hdpi/abc_list_selector_disabled_holo_light.9.png -o /home/giacomotb/AndroidStudioProjects/ProvaDBCinema/app/build/res/all/debug/drawable-hdpi/abc_list_selector_disabled_holo_light.9.png **Error Code:127** Output: /home/giacomotb/Programs/android-studio/sdk/build-tools/android-4.4/aapt: error while loading shared libraries: **libz.so.1: cannot open shared object file: No such file or directory**
I tried to do this commands:
apt-get install lib32ncurses5 lib32stdc++6
that goes well and that one:
sudo apt-get update sudo apt-get install ia32-libs
Reading package lists... Done Building dependency tree Reading state information... Done Package ia32-libs is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: lib32z1 lib32ncurses5 lib32bz2-1.0 E: Package 'ia32-libs' has no installation candidate
I can't find other solution on the web.
what should I do?
I use ubuntu 13.10 x64