Android 日志:

02-23 04:10:45.008 W/ActivityManager( 1585): Crash of app io.appium.uiautomator2.server running instrumentation 
ComponentInfo{io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner}

appium 日志:

[debug] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=
Process crashed.
[debug] [Instrumentation] INSTRUMENTATION_CODE: 0
[debug] [Instrumentation] The process has exited with code
0

请问如何查明 uiautomator2 的崩溃原因呢?有人碰到过吗?

补充:
机型是 Redmi 5 Plus,目前怀疑是省电策略将其关闭,修改省电策略为无限制后继续挂机观察


↙↙↙阅读原文可查看相关链接,并与作者交流