Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"aapt" IOException error=2, No such file or directory" why can't I build my gradle on jenkins?

I had the following similar error on Ubuntu 13.10:

Cannot run program "/usr/local/android-sdk-linux/build-tools/19.0.3/aapt": error=2, No such file or directory

And this answer fixed it for me:

To get aapt working (this fixed my issues with the avd as well) just install these two packages:

sudo apt-get install lib32stdc++6 lib32z1

For Arch 64 users, you must first enable multilib for pacman, then install the 32-bit packages:

sudo pacman -Syv lib32-libstdc++5 lib32-zlib

For Fedora users:

sudo dnf install zlib.i686 libstdc++.i686