Unable to select value from numberpicker Android

Can anyone please help to select value from number picker android in android 5.0.
Cuurently click on button till value is not equal to input text is working for all android version except 5.0[or lolipop version like 5.1.1].
I have tried all methods like send_keys, click, tap but none is working.


it works just by using automation engine Uiautomator2