Coding-996

cordova build Command failed “gradle: Command failed with exit code EACCES”

After update Gradle, when I build Cordova but got this error:

/Applications/Android/Android Studio-3.4.2.app/Contents/gradle/gradle-5.1.1/bin/gradle: Command failed with exit code EACCES

Use   Cordova build android –verbose for detail error:

/Applications/Android/Android Studio-3.4.2.app/Contents/gradle/gradle-5.1.1/bin/gradle: Command failed with exit code EACCES

Error: /Applications/Android/Android Studio-3.4.2.app/Contents/gradle/gradle-5.1.1/bin/gradle: Command failed with exit code EACCES

    at ChildProcess.whenDone (/Users/yu/Data/dev/jack-gp/tower-blocks/node_modules/cordova-common/src/superspawn.js:135:23)

    at ChildProcess.emit (events.js:198:13)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)

    at onErrorNT (internal/child_process.js:415:16)

    at process._tickCallback (internal/process/next_tick.js:63:19)

Fix it, find the Gradle and  chmod 755 gradle