Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

WebDriverException: Message: An unknown server-side error occurred while processing the command

未关闭
#805 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
android, python
领域
mobile, testing-qa

调研方向

首先检查 appium-server-logs.txt 以及针对 Appium 1.21.0 报告的 adb 命令,然后使用所述的 Android 设备和 Python 或 Robot Framework 设置重现初始化过程。该 issue 没有指定 repository 文件或测试;要完成此工作,需要确定并记录 settings service 错误反复出现的原因,以及如何验证修复是否生效。

由索引模型根据 Issue 内容生成。

描述

The problem

I have been using Appium to run automation testing against our Android app on devices for more than a year now. Just till recently we kept come across this issue while to initialize the Appium.
WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command 'C:\CATA_AUTO\Android\SDK\platform-tools\adb.exe -P 5037 -s 217TCD865537 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' exited with code 20'; Stderr: 'cmd: Can't find service: settings
cmd: Can't find service: settings
cmd: Can't find service: settings'; Code: '20'

I temporary uninstall Appium then reinstall appium and it works but several days later this issue come back...

Environment

  • Appium version: 1.21.0

Details

using Python as library and robot framework to run the test case.

Link to Appium Logs

I attached the appium-server-logs
appium-server-logs.txt

Code To reproduce issue

主要语言
Python
星标
1.8k
派生
570
平均合并
1 天 10 小时
30 天内合并 PR
24

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

appium/python-client 的其他 Issue

查看 appium/python-client 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。