Navigate to platforms/android
in cmd (won’t work in git bash) run following command.
1 | gradlew.bat --info build clean |
This will precisely give you the error.
Source: https://stackoverflow.com/questions/30645900/ionic-build-android-failure-execution-failed-for-task-processdebugresources