ATX 执行 python -m uiautomator2 init 报错

老米 · 2019年01月21日 · 最后由 老米 回复于 2019年01月21日 · 1760 次阅读

python -m uiautomator2 init 10.0.0.254:8000
返回:
usage: main.py [-h] [-s SERIAL] {init} ...
main.py: error: unrecognized arguments: 10.0.0.254:8000

如何解决

共收到 2 条回复 时间 点赞

python -m uiautomator2 init 命令重构;
新的方法 python -m uiautomator2 init --help 查看帮助信息;
旧命令 python -m uiautomator2 init $IP 新命令 python -m uiautomator2 init --server $IP
来自 u2 交流群.... 帮楼主搬运下~

感谢

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册