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

2020-02-10 14:50发布

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!

2条回答
Juvenile、少年°
2楼-- · 2020-02-10 15:01

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
查看更多
叼着烟拽天下
3楼-- · 2020-02-10 15:09
chmod a+x /Users/deva/Library/Android/sdk/tools/emulator64-arm
chmod a+x /Users/deva/Library/Android/sdk/tools/emulator

I had to do these additionally to get it working.

查看更多
登录 后发表回答