【发布时间】:2018-07-21 09:24:20
【问题描述】:
任务“: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.`
【问题讨论】:
-
试试
cordova build android --verbose -
试过但没有成功。
-
你能添加完整的构建日志吗?它应该有一些来自 AAPT 的错误。
标签: cordova ionic-framework ionic3