An unknown server-side error occurre while processing the command的解决办法

在使用Appium版本1.6.5、java-client 5.0.0、selenium 3.8.1、jdk 1.8和sdk 5.1.1时遇到An unknown server-side error。错误的根本原因是将platformVersion设为了不正确的API级别22。修正方法是将platformVersion设置为正确的值,即5.1.1。
摘要由CSDN通过智能技术生成

使用版本:

appium:1.6.5

java-client :5.0.0

selenium:3.8.1

jdk:1.8

sdk:5.1.1


错误:

.EE
Time: 0.984
There were 2 errors:
1) PreQuestion(com.test.quiz.QuizTest)org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Unable to find an active device or emulator with OS 22. The following are available: emulator-5554 (5.1.1) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 408 milliseconds
Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:32.194Z'
System info: host: 'D
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值