任务“:app:processDebugResources”执行失败。
执行“ionic cordova build android”时出现此错误。寻找了很长时间但没有运气。有人可以帮忙吗?
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.`
最佳答案
我知道这是一个很晚的答案,以防有人在 2019 年仍然面临这个问题。
这是由于gradle导致的,添加这个gradle支持插件应该就可以了:
cordova plugin add cordova-android-support-gradle-release
关于cordova - ionic 3 : Execution failed for task ':app:processDebugResources' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48725618/