UiDevice.getUiAutomation(instrumentation) returns null causing NPE, in Robolectric test

后端 未结 0 1735
小蘑菇
小蘑菇 2021-01-13 08:21

In my Roblectric test, I try to confirm permission dialog with UiDevice

@RunWith(RobolectricTestRunner::class)
@Config(sdk = [Build.VERSION_CODES         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题