uiautomator
uiautomator copied to clipboard
JsonRPC Error code: 0, Message: java.lang.IllegalStateException: UiAutomation not connected!
Every time when we execute the script JsonRPC Error code: 0, Message: java.lang.IllegalStateException: UiAutomation not connected!
Above Error is coming ..
ADB Version : 1.0.36 Device Android version : 8.1 oreo
make sure uiautomator not be killed, and try start instrumentation by manual: adb shell am instrument -w com.github.uiautomator.test/android.support.test.runner.AndroidJUnitRunner
if you don't mind, you can use my forked version. fixed this issue. https://github.com/openatx/uiautomator2