Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

ia32-libs

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
1  
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
add comment

1 Answer 1

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 R.java 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
add comment

Your Answer

 
discard

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.