Android build broken after gradle dependencies update: Execution failed for task ':processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt

It is all related to support-v4@27.0.0 and cordova-android@6.2.3 (that was my version) and the cordova-plugin-compat@1.2.0

By upgrading to cordova-android@6.3.0 and removing cordova-plugin-compat.

cordova plugin rm cordova-plugin-compat --force
cordova platform rm android
ionic cordova platform add android@6.3.0

if you face an issue about PermissionHelper, check if cordova-plugin-compat and his mentions in plugins/android.json and plugins/fetch.json are removed and it will solve permission problem.

Thanks to anyone that was involved to find a workaround for that, thanks @Sujan12 :wink:

11 Likes