Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

my system is Dell Inspiron 15R (N5010) and i am having trouble becuase of 64 bit system. on running Android Application i am getting error:

Error executing aapt. Please check aapt is present at /home/rahul/android-sdks/platform-tools/aapt

before this error i was getting adb not found error. i tried to install


but can't. i also put my question here (How to install ia32-lib on 64 Bit System?) but nothing helped. please help !!

share|improve this question
is aapt present in the location it's asking you to put it? – jackweirdy Oct 24 '12 at 14:35
it is present in platform-tools folder ! – Raahul Oct 24 '12 at 14:38

This looks like a permissions problem! just cd into your sdk folder

cd /home/rahul/android-sdks/android-sdk-linux

now change the permissions of the required folders

sudo chown -R YOUR_USERNAME:YOUR_USERNAME platform-tools/  tools/ platforms/  platform-tools/adb

now try running your android virtual machine!

share|improve this answer
now getting error on console 'Failed to get the adb version: Cannot run program "/home/rahul/android-sdks/platform-tools/adb": error=2, No such file or directory from '/home/rahul/android-sdks/platform-tools/adb' - exists=true' and is not building – Raahul Oct 24 '12 at 15:38
ok do one more thing sudo chown -R YOUR_USERNAME:YOUR_USERNAME platform-tools/adb – Sagar_R Oct 24 '12 at 15:50
still >Error executing aapt. Please check aapt is present at /home/rahul/android-sdks/platform-tools/aapt >Hint: On 64-bit systems, make sure the 32-bit libraries are installed: sudo apt-get install ia32-libs >R cannot be resolved to a variable – Raahul Oct 24 '12 at 15:59
try chmod +x path/to/aapt – jackweirdy Oct 29 '12 at 20:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.