问题描述:
搭建Python+ uiautomator2自动化测试环境时,通过python -m uiautomator2 init 初始化过程中,Android端无法成功安装ATX

问题原因:
原因可能是因为端口冲突

解决方法:
在dos窗口输入:
1、adb kill-server
2、adb start-server
3、adb remount
4、重新执行 python -m uiautomator2 init 成功

成功安装图
python -m uiautomator2 init 报 error(10060),导致无法安装ATX

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-11-28
相关资源
相似解决方案