摇篮错误 - 无法调用IncrementalTask.taskAction()的任务“:项目:mergeDebugResources” [英] Gradle Error - Could not call IncrementalTask.taskAction() on task ':project:mergeDebugResources'
问题描述
我更新的Android工作室,并开始收到此错误。我没有经验的摇篮,因此似乎无法找出什么可以去错了。
下面是完整的错误。
摇篮:执行失败的任务:项目: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屋!