Monday, 3 June 2013

Android Studio (Intellij) can't find aapt...but it's there!!! (UPDATED)

UPDATE: I have also encounter this with the following error message (it can be fixed the same way or following this):

db: error while loading shared libraries: cannot open shared object file: No such file or directory

If you are having problems with Android Studio (Intellij) when trying to run it for the first time with a message like:

android-apt-compiler: Cannot run program "PATH/TO/android-sdk-linux/platform-tools/aapt": error=2, No such file or directory

I found this (basically create symbolics links to the actual place where the files are. Didn't do anything for me) and THIS which actually fix it for me.

Turns out, as you can clearly read from the error message, it was a architecture problem. Aapt expects 32 bit binaries and my desktop is 64 bits.

With a nice:
apt-get install ia32-libs
it should work


  1. Thank you very much. This resolved my issue on Linux Mint 64bit version as well!

  2. Cool, glad it helped someone else ^_^