Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio IDE on Mac os:error=13, Permission denied

I downloaded an Android Studio for Mac and then want to run SDK manager,console then puts the message:

 ProcessNotCreatedException: Cannot run program "/Users/MyUserName/Library/Android/sdk/tools/android": error=13, Permission denied

OS version:Yosemite 10.10.1

Android Studio version:1.0.1

What is the main cause for such error? Thank you so much!

like image 623
skfeng Avatar asked Dec 21 '14 06:12

skfeng


1 Answers

I ran into the same problem today.

And I fixed this by adding executable permission to the file /sdk/tools/android

Open your terminal and

chmod +x /Users/MyUserName/Library/Android/sdk/tools/android
like image 154
songchenwen Avatar answered Sep 30 '22 14:09

songchenwen