Code not working when running normally, but working in debug (eclipse)

前端 未结 4 1156
情话喂你
情话喂你 2021-01-12 06:17

I\'m really confused by this: some of my code is not working when i run my program normally in eclipse, but it does wok when i run through each step separately using the deb

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-12 06:55

    I had same problem in UIAutomator with UiObject2 wait(Until.findObject(),20) .

    Thread.yield() - works for me

提交回复
热议问题