个人感觉win版比linux要方便一点(也有可能是比较熟悉Windows的原因)
操作步骤:
1.安装git(百度直接搜索git安装就可以了,有好多教程)
2.安装golang(也是直接百度,教程很多)
3.安装rethinkdb(官网下载,之后加入环境变量)
4.安装atx-server, github地址:https://github.com/openatx/u2init
使用github上面的安装方式会在go build上如果报错,就使用下面方法安装
单独建一个目录例如:atx
打开命令行,输入:git clone https://github.com/openatx/atx-server
cd atx-sercer
$env:GOPROXY = "https://goproxy.io"
go build
其中$env:GOPROXY = "https://goproxy.io"是win下使用,如果是linux则使用export GOPROXY = "https://goproxy.io"
5.安装python
6.安装uiautomator2:pip install --upgrade --pre uiautomator2;安装pillow:pip install pillow
7.初始化,命令重构了,GitHub上面没更新,所以使用下面的命令
python -m uiautomator2 init --server 本机IP:8000
(python -m uiautomator2 init --help)查看帮助信息
8.如果打不开的IP:8000的话,重新go build一下