摇篮错误 - 无法调用IncrementalTask​​.taskAction()的任务“:项目:mergeDebugResources” [英] Gradle Error - Could not call IncrementalTask.taskAction() on task ':project:mergeDebugResources'

查看:224
本文介绍了摇篮错误 - 无法调用IncrementalTask​​.taskAction()的任务“:项目:mergeDebugResources”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更新的Andr​​oid工作室,并开始收到此错误。我没有经验的摇篮,因此似乎无法找出什么可以去错了。

下面是完整的错误。

  

摇篮:执行失败的任务:项目:mergeDebugResources。   无法调用IncrementalTask​​.taskAction()的任务:项目:mergeDebugResources

解决方案

因此​​在摇篮阅读了之后,我尝试这个命令gradlew compileDebug --stacktrace,以便看到更详细的错误。原来,这个问题实际上是一个重复的资源问题,摇篮只是给我一个普通的错误。

I updated Android Studio and started getting this error. I have no experience with gradle and as such can't seem to figure out what could be going wrong.

Here's the full error.

Gradle: Execution failed for task ':project:mergeDebugResources'. Could not call IncrementalTask.taskAction() on task ':project:mergeDebugResources'

解决方案

So after reading up on gradle, I tried this command 'gradlew compileDebug --stacktrace' so as to see a more detailed error. It turns out the problem was actually a duplicate resource issue and gradle was just giving me a generic error.

这篇关于摇篮错误 - 无法调用IncrementalTask​​.taskAction()的任务“:项目:mergeDebugResources”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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