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

ANDROID_HOME=/Users/dcato/adt-bundle-mac-x86_64-20140702/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
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