How to fix this subproject path: CordovaLib error: spawn EACCES

I am using mac Sierra How to fix this error

Subproject Path: CordovaLib

Error: spawn EACCES Mac screen

+4
source share
3 answers

You will need to make an gradlewexecutable that is in the folder platformsin your ion project along the 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 means: you allow everyone to read and execute the file, and the owner of the file is allowed to write to the file. If you apply 755 to the directory, this means that everyone can go to it and get a list of its files.

+11
source

, gradle

chmod +x ~/Library/Android/sdk/tools/templates/gradle/wrapper/gradlew
+2

, :

sudo chmod -R u+rwx /yourIonicAppFolder
-1

Source: https://habr.com/ru/post/1668280/


All Articles