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/ro
aapt is a 32 bit application and will fail on a 64 bit box until 32 bits are enabled and libs added
This is current solution as of Ubuntu 16.04 / 17.10
dpkg --print-foreign-architectures # if below was never run this returns nothing ... afterwards it will return : i386
sudo dpkg --add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386