appium显示每次都显示超时,为什么

问题

appium连接真机的时候显示超时

报错信息

WebDriverError: An unknown server-side error occurred while processing the command. Original 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 when running “http://127.0.0.1:4723/wd/hub/session” with method “POST” and args “{“capabilities”:{“alwaysMatch”:{“appium:appActivity”:“com.android.browser.BrowserActivity”,“appium:appPackage”:“com.android.browser”,“appium:automationName”:“UiAutomator2”,“appium:deviceName”:“ed9a2c04”,“appium:noReset”:true,“platformName”:“Android”,“appium:platformVersion”:“16”,“appium:newCommandTimeout”:300,“appium:ensureWebviewsHavePages”:true,“appium:nativeWebScreenshot”:true,“appium:connectHardwareKeyboard”:true},“firstMatch”:[{}]}}”

环境

要看下Appium完整的日志,你的Appium版本是多少

我用的是Appium GUI server,用的最新的

大哥你还在吗

大哥appium settings提示闪退是因为什么