赞
踩
uiautomator2的安装直接看github就行,
链接:https://github.com/openatx/uiautomator2
运行pip3 install -U uiautomator2 安装uiautomator2;
————or————
# Since uiautomator2 is still under development, you have to add --pre to install the development version
pip install --upgrade --pre uiautomator2
# Or you can install directly from github source
git clone https://github.com/openatx/uiautomator2
pip install -e uiautomator2
测试是否安装成功:
uiautomator2 --help
连接手机(设备)之后执行:来初始化手机上的设备环境:
python -m uiautomator2 init
——————————————————————————
git clone https://github.com/openatx/weditor
继续执行:
pip3 install -e weditor
然后确认是否安装成功了:
weditor --help
启动weditor
python -m weditor
————ok,安装好了。有需要再补充。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。