An_unknown_server-side_error_occurred_while_processing_the_command

报错现象

UnknownError: An unknown server-side error occurred while processing the command. Original error: 'xxxxxxx' cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details

问题原因

影刀手机自动化操作是依赖于影刀在手机上安装的Appium及Uiautomator2 应用实现的。

安装的应用在手机上会处于后台运行模式,一些手机系统会定时对后台应用进行清理,导致应用结束运行,进而影刀手机自动化指令报错。

解决方案

手机系统清理后台应用一般是因为省电策略。在省电策略中将具有 Appium 和 Uiautomator2 关键字的应用加入白名单即可。

问题没有解决?去社区提问 all right reserved,powered by Gitbook

results matching ""

    No results matching ""