Gradle Robolectric Resources NotFoundException in Testing

前端 未结 2 488
深忆病人
深忆病人 2021-01-12 05:58

I\'ve already knew that this issue has been asked before but I can\'t solve this problem. I am able to compile and apply test with jUnit, Robolectric and Gradle. The issue

2条回答
  •  再見小時候
    2021-01-12 06:06

    At the end I managed to solve it moving to Robolectric v2.3-SNAPSHOT.

    You can find this SNAPSHOT here oss.sonatype.org/index.html#nexus-search;quick~org.robolectric

    The same Jake Wharton plugin works well with this Robolectric v2.3-SNAPSHOT.

    Perhaps this information might help someone else.

提交回复
热议问题