I am setting up eclipse and ADT everything is working fine JAVA, android virtual devices and everything except the ADT sdk manager it says permission denied.

/home/yousaf/android-sdks/tools/android: 84: java: Permission denied
/home/yousaf/android-sdks/tools/android: 101: java: Permission denied
exec: 114: java: Permission denied

I have executable permission on this folder and files owner is my own user and I have tried to run this as root but same results.

Here are the permissions for that file

-rwxrwxrwx 1 yousaf yousaf 3498 2014-01-07 13:27 /home/yousaf/android-sdks/tools/android
  • Please add the output of ls -l /home/yousaf/android-sdks/tools/android – Wilf Jan 7 '14 at 14:50
  • @wilf i have added the output of what you said can please look into this ? – Yousaf Ehsan Jan 7 '14 at 20:06
  • Errr... Isn't hat is ls -l... output for the parent directory? Make sure java is installed - see here. Running chmod -R +x /home/yousaf/android-sdks/tools/android may help... – Wilf Jan 7 '14 at 20:26

I had same problem and following way i resolve it. you should use command line for updating SDK

use following commoand.

go to [ADT bundle]/sdk/tools folder. by

cd /home/yousaf/android-sdks/tools/


 android update sdk

this resolve my problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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