Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException'

后端 未结 7 943
攒了一身酷
攒了一身酷 2021-01-03 20:33

This is my first time setting up an Android test project to test a Android project.

I\'ve created a very basic test case which I\'m trying to get to run, however wh

相关标签:
7条回答
  • 2021-01-03 21:07

    In my case, I was trying to run the tests on Jelly Bean emulator. Android instrumentation does not seem to support Jelly Bean. I could run the tests on lollipop.

    You may also not able to run android tests through release build type. Ensure that debug build type is active.

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