Android – you cannot determine the dependencies of all tasks using the robolectric gradle plug-in

After modifying my gradle build file, as written in the document, the following errors will appear in all my tasks:

The dependency of task ': Android: testdebug' cannot be determined

It is a subproject called Android, so it may just be that testdebug uses gradle Android test plugin: 0.9 for others

Who knows what the problem may be?

resolvent:

With gradle 1.6 instead of 1.7, it's working

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>