15

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!

skfeng
  • 669
  • 2
  • 7
  • 15

3 Answers3

31

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
songchenwen
  • 1,362
  • 9
  • 14
1
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.

Pang
  • 9,564
  • 146
  • 81
  • 122
0

Re-install Android Emulator from SDK Manager > SDK Tools should be back to normal

RayChongJH
  • 401
  • 1
  • 5
  • 6