I’m getting started with Cordova and had a difficult time with the android build. I kept getting the following error.

Error: spawn EACCES

This tells me its a permission issue but does not give me details.

To get more details I ran the build command in verbose mode
cordova build android -verbose

This showed that the issue was in "/Applications/Android Studio.app/Contents/gradle/gradle-2.4/bin/gradle"

Running chmod +x solved my issue!
chmod +x /Applications/Android\ Studio.app/Contents/gradle/gradle-2.4/bin/gradle