【发布时间】:2022-10-24 19:21:21
【问题描述】:
当我使用 appium 运行空手道测试时,它会出现此错误
我安装了: 安卓工作室 应用 节点 npm
Original error: pkg: /data/local/tmp/appium_cache/31bc49edb643a4a324f739a34babfd1e6d522a16.apk\r\nFailure [INSTALL_FAILED_OLDER_SDK]"},
Full error msg:
ExamplesTest driver config / start failed: webdriver session
create status 500, {"status":13,"value":{"message":"An
unknown server-side error occurred while processing the
command. Original error: pkg:
/data/local/tmp/
appium_cache/31bc49edb643a4a324f739a34babfd1e6d522a16
.apk\r\nFailure
[INSTALL_FAILED_OLDER_SDK]"},"sessionId":null}, options:
{type=android, webDriverPath=/wd/hub, start=true,
httpConfig={readTimeout=120000}, target=null,
webDriverSession={desiredCapabilities=
{app=/home/yabesh/Downloads/UiDemo.apk,
newCommandTimeout=300, platformVersion=5.1,
platformName=Android, connectHardwareKeyboard=true,
deviceName=emulator-554, avd=Nexus_4_API_22,
automationName=UiAutomator2}}}
classpath:test/test_features/android/android.feature:28
如何解决。请帮助我。
【问题讨论】:
-
让我说空手道中的 appium 支持是实验性的。如果您或您的团队可以做出贡献,请这样做。就是说-有很多团队在使用它-因此您可以对其进行评估并做出决定