Sunday, February 5, 2012

How to resolve "Error executing aapt. Please check aapt is present at xxxxxx folder"

I have Eclipse Helios running on 64 bit Ubuntu and I was getting the error message "Error executing aapt. Please check aapt is present at xxxxxx folder" when I tried to compile the Android project. With a little R&D I found that this error happens because, when we install 64 bit Android libraries, there are few 32 bit libraries that we need to install manually.

To get rid of this error, we need to install the 32 bit libraries by executing the below command

First navigate to the folder where you have installed the Android SDK. 
cd /usr/lib/android-sdk-linux/

Now run apt-get to install the 32 bit libraries
sudo apt-get install ia32-libs

Once the install is complete, restart Eclipse and you should be good to go.

Blog Archive