如何用命令重启ATX服务

原因

手机开启USB调试连接电脑,即使进入weditor也无法开启ATX服务。

步骤

  1. adb -s UUID shell进入shell
  2. /data/local/tmp/atx-agent server --stop停止ATX服务
  3. /data/local/tmp/atx-agent server --nouia -d --addr 127.0.0.1:7912在7912端口中启动ATX服务
  4. 重新进入weditor,通过uuid连接手机即可

总结

运行如下命令即可:

adb -s UUID shell
/data/local/tmp/atx-agent server --stop
/data/local/tmp/atx-agent server --nouia -d --addr 127.0.0.1:7912
weditor是一个用于自动化测试的工具,用于在Android设备上进行UI自动化测试。当出现subprocess-exited-with-error的错误时,可能是由于weditor的安装过程出现了问题。解决此问题的方法是执行以下步骤: 1. 打开终端或命令提示符。 2. 执行命令`git clone https://github.com/openatx/weditor`,将weditor的源代码克隆到本地。 3. 执行命令`pip3 install -e weditor`,安装weditor。 如果上述步骤无法解决问题,你还可以尝试以下方法: 1. 检查你的Python环境是否正确配置。 2. 确保你的网络连接正常,以便从GitHub下载weditor的源代码。 3. 使用离线包来安装weditor。你可以从其他渠道下载weditor-0.6.2-py3-none-any.whl离线包,并使用命令`pip install <下载包的路径及安装包>`来进行安装。 希望以上方法能够帮助你解决weditor subprocess-exited-with-error的问题。 #### 引用[.reference_title] - *1* [下载weditor 时出现的各种报错集合](https://blog.csdn.net/weixin_45330098/article/details/126654357)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [pip install weditor安装出错解决方法](https://blog.csdn.net/technologist_41/article/details/123212212)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [Weditor包,安装weditor失败,subprocess-exited-with-error](https://download.csdn.net/download/varrior/86770329)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值