Cannot resolve symbol InstantTaskExecutorRule
问题 I open example code BasicRxJavaSample (from this article Room+RxJava) The main thing is there: @Rule public InstantTaskExecutorRule instantTaskExecutorRule = new InstantTaskExecutorRule(); And BasicRxJavaSample is all ok. But I can not apply this in my test. That's what's going on: Cannot resolve symbol InstantTaskExecutorRule And manual import does not work: My autocompletion works like this But should be so My app build.gradle (full gradle here): // tests testImplementation 'junit:junit:4