openatx / uiautomator2

Android Uiautomator2 Python Wrapper
MIT License
6.48k stars 1.39k forks source link

AttributeError: 'Device' object has no attribute '_filelock' #914

Closed LeelKumar closed 4 months ago

LeelKumar commented 1 year ago
  1. image

  2. image

-> device.press("home") -> jsonrpc.pressKey("home") -> _jsonrpc_retry_call -> timeout/server error -> reset_uiautomator

MDasky1 commented 1 year ago

Just was working with this error. Are you using pyminitouch by chance? If so, don't use the latest version of uiautomator2 2.16.25, downgrade to 2.16.22. That made everything work better for me.

LeelKumar commented 1 year ago

Just was working with this error. Are you using pyminitouch by chance? If so, don't use the latest version of uiautomator2 2.16.25, downgrade to 2.16.22. That made everything work better for me.

not using pyminitouch, but let me try using latest version(s). Thank you

codeskyblue commented 4 months ago

fixed