无法使用robolectric gradle插件确定所有任务的依赖关系(Could not determine the dependencies for all tasks with robolect

编程入门 行业动态 更新时间:2024-10-23 13:28:06
无法使用robolectric gradle插件确定所有任务的依赖关系(Could not determine the dependencies for all tasks with robolectric gradle plugin)

在修改我的gradle构建文件之后,就像在文档中写的那样,我的所有任务都会出现以下错误:

无法确定任务':android:testDebug'的依赖关系。

它是一个名为android的子项目,所以可能只是使用gradle-android-test-plugin的其他人的testDebug:0.9。+

谁知道可能是什么问题?

after modifying my gradle build file like written in the docu I get the following error for all of my tasks:

Could not determine the dependencies of task ':android:testDebug'.

it is a subproject called android so might be just testDebug for others using gradle-android-test-plugin:0.9.+

anybody knows what could be the problem?

最满意答案

在使用gradle 1.6而不是1.7之后,它正在工作

after using gradle 1.6 instead of 1.7 it is working

更多推荐

本文发布于:2023-07-28 01:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1298263.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:插件   关系   gradle   robolectric   plugin

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!