Type Android Junit4 not present exception

后端 未结 6 537
陌清茗
陌清茗 2021-01-01 08:41

I have an Android project that I am trying to run Instrumentation tests for using AndroidStudio, but when I try to run the whole class file for the tests, I get the exceptio

6条回答
  •  太阳男子
    2021-01-01 09:00

    I had the same with:

    Type androidx.test.ext.junit.runners.AndroidJUnit4 not present
    

    I tried a lot of things before manually removing the App from the device and running the test again. Hope this helps!

提交回复
热议问题