Android Test Module (Gradle Plugin 1.3) doesn't work: “debug-classes not found”

后端 未结 2 1035
庸人自扰
庸人自扰 2020-12-08 10:35

I\'m attempting to set up a unit test module as described in the android studio blog post. However, doing a gradle build fails telling me \"Configuration with name \'debug-c

2条回答
  •  萌比男神i
    2020-12-08 11:01

    Here is a sample app that works https://github.com/googlesamples/android-testing-templates/tree/master/AndroidTestingBlueprint

    You must use

    buildToolsVersion = '23.0.0rc3'
    

    And of course

    publishNonDefault true
    

提交回复
热议问题