Issues running Espresso instrument tests on Dalvik runtime devices

后端 未结 1 1227
死守一世寂寞
死守一世寂寞 2021-01-12 21:47

I\'m running across a similar issue to FragmentActivity can not be tested via ActivityInstrumentationTestCase2

The problem with the top solution there is that only a

相关标签:
1条回答
  • 2021-01-12 22:04

    After much pain, sweat and tears. I managed to determine the solution. Simply adding exclude group: 'com.android.support', module: 'support-v4' to the list of excludes for Robolectric allowed Robolectric to continue to work while having it not crash on the Dalvik runtime.

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