小编Was*_*mla的帖子

Travis CI - 无法删除端口转发错误执行adbExec

我正在尝试使用Appium(npm版本)为Android应用程序设置自动化测试,但我一直收到错误

[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id [UiAutomator2] Unable to remove port forward 'Error executing adbExec. Original error: 'Command '/usr/local/android-sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp\:8200' exited with code 1'; Stderr: 'error: listener 'tcp:8200' not found'; Code: '1''

我已经浏览了谷歌多年,但是能够找到任何实际上对我有用的解决方案,到目前为止共有50个失败的版本.

如果我在我的本地机器上运行命令它工作正常但在travis内我很遗憾没有这样的运气.我是设置appium的新手,所以它可能是一些不太理解的东西.

我的travis.yml文件的要点就在这里

分配: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty

提前致谢.

travis-ci appium appium-android

8
推荐指数
1
解决办法
583
查看次数

使用Xcode构建命令或appium进行构建时测试失败

我在用 :

Xcode 10.1
Os Version : 12.1
iPhone 6
Run Code Online (Sandbox Code Playgroud)

我确实按照所有必需的步骤来设置构建和一切,但在尝试使用xcode构建构建项目时仍然出现错误.

我在签署问题或者我缺少一些配置之类的2件事之间感到困惑.在webdriver代理xproj中.

xcode构建命令的实际错误

Testing failed:
WebDriverAgentRunner-Runner.app encountered an error (Failed to install or launch the test runner. (Underlying error: Unable to launch com.apple.test.WebDriverAgentRunner-Runner. (Underlying error: The operation couldn’t be completed. (DTXMessage error 1.))))
Run Code Online (Sandbox Code Playgroud)

appium的实际错误

Error: Unable to launch WebDriverAgent because of xcodebuild failure: “xcodebuild failed with code 65”. Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and …
Run Code Online (Sandbox Code Playgroud)

appium appium-ios

7
推荐指数
1
解决办法
2420
查看次数

标签 统计

appium ×2

appium-android ×1

appium-ios ×1

travis-ci ×1