Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix this Subproject Path: CordovaLib Error: spawn EACCES

I use mac Sierra How to fix this Error

Subproject Path: CordovaLib

Error: spawn EACCES Mac Screen

like image 457
ThunderOver Avatar asked Jan 30 '17 16:01

ThunderOver


1 Answers

You will need to make gradlew executable which resides in platforms folder in your ionic project at following path

/Users/*<your ionic project path>*/platforms/android/gradlew

For MAC

sudo chmod 755 /Users/<your ionic project path>/platforms/android/gradlew

where chmod 755 stands for : you allow everyone to read and execute the file, and the file owner is allowed to write to the file as well. If you apply 755 to a directory, it means that everyone can go to it and get its file listing.

like image 82
Maverick09 Avatar answered Nov 06 '22 22:11

Maverick09