Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

macos - 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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...