Active build variant does not have a test artifact

后端 未结 1 1689
时光取名叫无心
时光取名叫无心 2021-02-20 12:23

I have created a new build type called \'bitrise\' based on the \'debug\' build variant. The instrumented androidTests build and run fine when using the \'debug\' build variant

1条回答
  •  臣服心动
    2021-02-20 13:09

    You can add this to your build.gradle file

    android {
        testBuildType "MycompanyBitrise" // or whatever build varient where you are getting 
                                           such error
    }
    

    0 讨论(0)
提交回复
热议问题