appium使用aotomator2以后起不来了,老是报错,报错如图:
Encountered internal error running command: Error: The instrumentation process cannot be initialized within 30000ms timeout. Make sure the application under test does not crash and investigate the logcat output. You could also try to increase the value of ‘uiautomator2ServerLaunchTimeout’ capability.
遇到一个未知错误,到底是什么鬼。
无奈查看上下文日志。
也看不出来什么,发现一行:
好吧,那就多加一个参数试一试吧。
‘automationName=UiAutomator1’
再次启动:
搞定啦!
appium一个报错引发的故事!
最新推荐文章于 2023-07-18 14:37:47 发布