Android Sdk Manager Permission Denied

Android Sdk Manager Permission Denied

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
3

1 Answer

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/

then

 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

Alexander Ross
Author

Alexander Ross

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.