ionic cordova build android Command failed with EACCES: code example
Example: command failed with EACCES android
chmod 777 platforms/android/gradlew //or another script file causing the issue
cordova build --verbose android //helps identifying the script causing the issue