IONIC 3:任务“:app:processDebugResources"执行失败 [英] IONIC 3: Execution failed for task ':app:processDebugResources'

查看:17
本文介绍了IONIC 3:任务“:app:processDebugResources"执行失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任务:app:processDebugResources"执行失败.

Execution failed for task ':app:processDebugResources'.

执行ionic cordova build android"时出现此错误.搜索了很长时间,但没有运气.有人可以帮忙吗?

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.`

推荐答案

我知道这是一个很晚的答案,以防有人在 2019 年仍然面临这个问题.

I know it's a very late answer, incase someone still facing this issues in 2019.

是gradle造成的,加这个gradle支持插件应该没问题:

It's caused due to gradle, add this gradle support plugin and it should be fine:

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

这篇关于IONIC 3:任务“:app:processDebugResources"执行失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆