When I compile an android application ( I tried with the sample ones from the sdk). I get this error:
>Error executing aapt: Cannot run program "/home/roel/projects/sdk/build-tools/18.0.1/aapt": >error=2, No such file or directory: error=2, No such file or directory KeyChainDemo >line 1 Android ADT Problem
But aapt is at that location?
>[roel@archUSB 18.0.1]$ ls /home/roel/projects/sdk/build-tools/18.0.1/
>NOTICE.txt aidl dx libLLVM.so libbcinfo.so llvm-rs-cc source.properties
>**aapt** dexdump lib libbcc.so libclang.so renderscript
Note: I also get the error "R cannot be resolved", but I'm pretty sure that when I solve problem 1, I also solve this problem
Ubuntu 14.04.1 LTS solution:
sudo apt-get update
sudo apt-get install gcc-multilib lib32z1 lib32stdc++6
Reason: aapt needs 32-bit libraries installed