Cannot resolve symbol InstantTaskExecutorRule

前端 未结 6 1153
一整个雨季
一整个雨季 2020-12-30 18:44

I open example code BasicRxJavaSample (from this article Room+RxJava) The main thing is there:

@Rule
public InstantTaskExecutorRule instantTaskExecutorRule          


        
6条回答
  •  感动是毒
    2020-12-30 19:14

    for androidX migration, add

    androidTestImplementation "androidx.arch.core:core-testing:2.0.0"
    

提交回复
热议问题