Cordova build failed with error code : EACCESS
$ cordova build android
Running command: /home/user/proj1/platforms/android/cordova/build
execvp(): Permissi
My advice is to remove the platforms
directory, and reinstall each platform.
$ cd
$ rm -r platforms # -or- manually remove the directory
$ cordova platform add # ios, android, ...
Running chmod a+x build
(as suggested in the accepted answer) doesn't fix cordova platform rm
permission issues. Safer (and easier) to restore each platform to it's default state, instead of hacking (and remembering) permission changes for individual files / directories.