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
I had same problem in UIAutomator with UiObject2 wait(Until.findObject(),20) .
Thread.yield() - works for me