Android test project is crashing with error “Test run failed: Instrumentation run failed due to 'Process crashed.'”

前端 未结 5 762
予麋鹿
予麋鹿 2021-02-12 10:41

My problem seems little different than here Test run failed: Instrumentation run failed due to 'Process crashed.' when testing multiple Android activity
I have follo

5条回答
  •  你的背包
    2021-02-12 11:01

    For the developer who hasn't used androidx yet. Seeing the LogCat solved the issue for me which was deleting these line running in the wrong thread because of RxJava.

    companion object {
        @get:ClassRule @JvmStatic
        val testSchedulerRule = RxImmediateSchedulerRule()
    }
    

提交回复
热议问题