i'm using appium 2.1.3 and i try on macOS,for ios devices it will work fine to me,but when want to get android inspector it will show this message "Failed to create session. Request timed out" and its my desire capabilities
我正在使用Appium2.1.3,我在MacOS上试用,对于iOS设备,它对我来说工作得很好,但当我想要获得Android检查器时,它会显示这样的消息:“创建会话失败。请求超时”,这是我想要的功能
{
"appium:platformName": "android",
"appium:deviceName": "emulator-5554",
"appium:appPackage": "com.saucelabs.mydemoapp.rn",
"appium:appActivity": ".MainActivity",
"appium:automationName": "UiAutomator2"
}
and when i run my script it return this message:
当我运行我的脚本时,它返回以下消息:
[ WARN ] Keyword 'Capture Page Screenshot' could not be run on failure: No application is open
open app | FAIL |
ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
更多回答
Could you post appium server logs
您可以发布Appium服务器日志吗
优秀答案推荐
我是一名优秀的程序员,十分优秀!