Cannot resolve symbol 'AndroidJUnit4'

前端 未结 19 2264
别跟我提以往
别跟我提以往 2020-12-02 08:48

Obviously I need the correct import statment to solve this problem. According to the docs for AndroidJUnit4, this should be

import android.support.test.runn         


        
19条回答
  •  孤城傲影
    2020-12-02 09:35

    In my case this helped for release variant:

    android {
        ...
        testBuildType "release" 
    }
    

提交回复
热议问题