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

Hi to all,

Today, I came to the office and tried to build my android project ( which is using Crosswalk for webview ) and booomm. exactly same error seen on my gradle output.

Firstly, I tried to figure it out “why this happens right now. I did not change anything.” Then gradle dependencies came to my mind. Dynamic dependencies ( see : https://docs.gradle.org/current/userguide/dependency_management.html#sub:dynamic_versions_and_changing_modules )

Android Support Library version 27.0.0 is not compatible with older versions. You need to exclude android support libraries from your dependencies which are using support library with dynamic version.

I don’t have any ionic development experience but I can tell you with an example :

For example if your dependency is Crosswalk

compile ‘org.xwalk:xwalk_core_library:20.50.533.12’

you can do this for exclude dependency :

compile(‘org.xwalk:xwalk_core_library:20.50.533.12’) {
exclude group: ‘com.android.support’
}