atx-server androi 集群 搭建

1.安装go环境  

go下载地址:https://golang.org/dl/(验证go version)

2.下载go ide 推荐goland(破解:http://idea.lanyus.com/

goland下载地址:自行解决

3.安装rethinkdb

下载地址:https://rethinkdb.com/docs/install/

4.安装atx-server

cmd 下  go get -github.com/openatx/atx-server

5.启动rethinkdb

cmd下 rethinkdb --http-port 8090 #指定端口启动rethinkdb

如图:

6.build atx-server

如图:

go build 没有报错,说明构建成功

7.启动atx-server

在当前目录下 atx-server --port 8000(我的当前目录是C:Usershuigosrcgithub.comopenatxatx-server)

启动成功后如图:

8.安装安装uiautomator2(确保adb devices 能够识别到设备下,执行)

命令:pip install --pre --upgrade uiautomator2

9.将uiautomator安装到手机上 并自动运行

python -m uiautomator2 init 10.247.28.146(这里好像有问题,研究中)

先到这里哈~

原文地址:https://www.cnblogs.com/yanhuidj/p/11281859.html