Android build broken after gradle dependencies update: Execution failed for task ':processDebugResources'. > Failed to execute aapt


what will happen if i remove the platform from the existing app?


Believe not, I tried it in so many ways but the only thing that worked for me was these steps. In any cases if you need to have an plugin with appsupport it will fail your build.


big thanks!! solved the issue by these steps… cheers : :clinking_glasses:


And also verify if your inside platforms > android is with

Just changing cordova-plugin-file-opener2 in plugin.xml didn’t work.


If you are using cordova-plugin-file-opener2 try this solution:

Just remove the old plugin and add this instead cordova plugin add Then reinstall your platforms by removing them and adding them again.

This should work without editing properties or xml files.


Thank you so much, error solved!


I still can’t figure out why I’m getting this problem.
I remove android and add it again. For some reason it wants to install 6.2.2 but then shows 6.2.3 in config.

I removed the file-opener2 plugin, I can build just fine. I try to add in the JuanjoPP still same error.
Add fileopen 2 plugin back in.
in the plugin.xml

In it has the same thing.

I tell it to build with android 6.3.0 No change.
I don’t know what else to try.


Add this plugin it will work

cordova plugin add cordova-android-support-gradle-release


It works… :grinning:


I fixed the issue by removing multiple libraries in ./android/ “” and putting this “”



thanks :slight_smile: