After installing the Oracle JDK on my Ubuntu System, I turned out that I was still not ready to start developing my first App in Linux.
Whenever I tried to get my gradle running, I stumbled upon the following error message in my console:
/Android/Sdk/build-tools/20.0.0/aapt": error=2, No such file or directory
Some research pointed out that the cause of this error is that “aapt” is a 32 bit application and since we’re running on a 64 bit Ubuntu distro, this does not work.
To fix this, some extra (compatibility) libraries had to be installed. To do this, execute the following two commands:
sudo apt-get install lib32stdc++6 sudo apt-get install lib32z1
After installing these, aapt should work!