github
https://github.com/openatx/atx-server
1.安装go(去官网下载),查看go是否加入环境变量,archlinux直接pacman安装
2.$ go get -v github.com/openatx/atx-server
$ cd $GOPATH/src/github.com/openatx/atx-server
$ go build
3.下载rethinkdb(去官网下载)
4.打开rethinkdb.exe(注意这里最好不用用nohup),再打开atx-server(应该在GOPATH/src/github.com/openatx/atx-server文件夹下,./atx-server --port 8000)
5.pip install -U --pre uiautomator2
6.python -m uiautomator2 init 这里写主机ip:8000, linux中需要sudo
7.打开http://localhost:8000或局域网其他机器输入主机ip:8000
8. 如果初始化手机的时候不成功,就多尝试几次