atx安装

1、 Install and start rethinkdb

2、 Install go 下载地址:https://golang.org/dl/

3、构建

$ go get -v github.com/openatx/atx-server
$ cd $GOPATH/src/github.com/openatx/atx-server
$ go build

build的时候报错,解决方法:
从golang的github上手动下载相关的zip包 解压重命名为crypto、net、 sys后放到 GOPATH/src/golang.org/x文件夹下
https://github.com/golang/net
https://github.com/golang/sys
https://github.com/golang/crypto

4、Permission denied 解决办法:

sudo chown -R $USER /Library/Python/2.7/site-packages

5、Operation not permitted 解决办法:

pip install -U --pre uiautomator2 --upgrade --ignore-installed

6、运行:

(1) cd /Users/guoying/go/src/github.com/openatx/atx-server
(2) rethinkdb
(3) ./atx-server -addr :8000
(4) 连接手机
(5) python -m uiautomator2 init 192.168.203.153:8000

相关文章:
https://mp.weixin.qq.com/s/_df1ioqhbVzCq8fbzk-cig
https://testerhome.com/topics/11546
https://github.com/openatx/atx-server

atx安装
WX20180119-093815.png