No project description provided
Project description
# Example Package
一、环境配置
1、Java环境 2、adb环境 3、appium服务 4、Python3.7 5、aapt环境配置
详情教程说明:https://www.yuque.com/docs/share/83d6e0f5-3397-4fdd-9a7f-dc51e3be1116
二、功能实现
1、启动appium服务 2、关闭appium服务 3、获取配置信息 4、启动app
三、如何使用
1、配置aapt路径,用于编译APP,获取包名、启动activity 2、配置adb路径,用于获取设备udid,设备版本、设备名称 3、配置APP路径,用于需要安装的应用
四、实例
aapt_path = “/Library/android_sdk/build-tools/26.0.2/aapt” adb_path = “/Library/android_sdk/platform-tools/adb” 或 aapt_path = “aapt” adb_path = “adb”
app_path = “/Users/liaozhenghong/work/django-study/django-study/opencv/demo.apk” udid = “emulator-5554” appiumServer = appium_server(udid,app_path,adb_path,aapt_path) #启动appium服务 caps = appiumServer.driver_caps() #配置driver appiumServer.startDriver(caps) #启动driver appiumServer.closeAppiumServer() #关闭app服务
五、更新版本说明
—–0.0.3 更新README.md说明,其他未优化————- —–0.0.4 更新README.md说明,修复window上不能执行shell脚本,兼容mac、window——- —–0.0.5 新建read.md说明文件,详解环境配置,其他未优化————- —–0.0.6 删除read.md说明文件,把详解环境配置添加到python文件中,其他未优化————-
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for AppiumAndroid-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af36c4863ae364b00694e04ed9851692612732422d1d159eb2095a812c687137 |
|
MD5 | 0a2c8d5ab6c942637edda214717d76ef |
|
BLAKE2b-256 | 4a4f9b2de1fd7985ccb22d0d9cd157bd9558db5e0d3e6920d766e247dcd614ed |