在我的 Espresso 测试中,我得到以下异常:
androidx.test.espresso.AppNotIdleException: Looped for 10945 iterations over 60 SECONDS. The following Idle Conditions failed MAIN_LOOPER_HAS_IDLED(last message: { when=-5ms callback=android.view.Choreographer$FrameDisplayEventReceiver target=android.view.Choreographer$FrameHandler })
我在我的 android 模拟器上关闭了动画。我读过写这个问题是由于 ProgressBar 将状态更改为 GONE 而发生的主题。我正在检查并不确定这个问题与此有关。也许有人面临这个例外,可以帮助我。