自动化脚本使用说明
一、下载 Android SDK 平台工具软件包
手机连接使用说明文档 : https://developer.android.google.cn/studio/command-line/adb
常用命令:
1、确认主机已连接到目标设备
adb devices
2、设置目标设备以监听端口 5555 上的 TCP/IP 连接
adb tcpip 5555
3、重置 adb 主机
adb kill-server
4、通过 IP 地址或者设备id连接到设备
adb connect device_ip_address:5555
adb connect bf930f9
5、查询设备
adb devices -l
6、
具软件包下载网址: https://developer.android.google.cn/studio/releases/platform-tools
二、安装依赖库
pip install pocoui
pip install -U airtest