Delegate runner 'androidx.test.internal.runner.junit4.AndroidJUnit4ClassRunner' for AndroidJUnit4 could not be loaded

后端 未结 8 713
星月不相逢
星月不相逢 2021-01-17 11:30

I try to run Kotlin instrumentation tests for android.

In my app/build.gradle:

    android {
        dataBinding {
            enabled = true
               


        
8条回答
  •  伪装坚强ぢ
    2021-01-17 11:46

    The error message displayed when I delete the @Test method.

    You can try to put a @Test method and run

    @Test
    public void signInTest() {
    
    
    }
    

提交回复
热议问题