Android Espresso: PerformException

前端 未结 7 2051
春和景丽
春和景丽 2020-12-30 22:59

I`m getting

android.support.test.espresso.PerformException: Error performing \'send keyCode: 4, metaState: 0 key event\' on view \'Animations or tra

7条回答
  •  情话喂你
    2020-12-30 23:27

    I've run into the error Animations or transitions are enabled on the target device several times. In the latest case, the real problem was that my UI code was throwing a NullPointerException. Unfortunately Espresso was "swallowing" the NullPointerException and giving me the irrelevant error Animations or transitions are enabled on the target device.

提交回复
热议问题