问题
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”:[{}]}}”
