Appium报错Appium Settings app is not running after 5000ms

运行程序时遇到过以下报错:
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Appium Settings app is not running after 5000ms

问题解决:

desired_caps新增一个参数
desired_caps[‘ignoreHiddenApiPolicyError’] = True
然后尝试重新运行,ok了!!

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐