Hi,
I also had this problem and today I solved it with the following:
-
run commands (suggested by c0de Android build broken after gradle dependencies update: Execution failed for task ':processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt):
cordova plugin rm cordova-plugin-compat --force
cordova plugin add cordova-plugin-compat@1.2
cordova platform rm android
cordova platform add android@6.3.0 -
then I got error about android license “You have not accepted the license agreements of the following SDK components: [Android SDK Platform 26]”, this was solved with executing ‘“%ANDROID_HOME%\tools\bin\sdkmanager” --update’ like suggested here: You have not accepted the license agreements of the following SDK component
Hope these will also help for someone else as well