Execution failed for task ':app:processDebugResources'.
This error comes when execute "ionic cordova build android". Searched for a long time but no luck. Anyone can help?
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --
debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 18s
(node:9516) [DEP0018] DeprecationWarning: Unhandled promise rejections are
deprecated. In the future, promise rejections that are not handled will
terminate the Node.js process with a non-zero exit code.`
I know it's a very late answer, incase someone still facing this issues in 2019.
It's caused due to gradle, add this gradle support plugin and it should be fine:
cordova plugin add cordova-android-support-gradle-release
run into the same error. found this solution to fix it:
https://stackoverflow.com/a/49172982/7655348
Replace
com.android.support:support-v4:+
with com.android.support:support-v4:27.1.0
in project.properties file under platform/android folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With