GeezerVison is showing github.com — AndroidPerformanceTest_Python/README.md at master · AnikiKun/AndroidPerformanceTest_Python
16 lines (13 loc) · 645 Bytes
File metadata and controls
16 lines (13 loc) · 645 Bytes
Copy raw file
Download raw file
Edit and raw actions
AndroidPermanceTest_Python
环境准备:
1.本地还是需要有android sdk环境。至少adb能够使用
2.本地需要安装python2.x版本
使用教程:
- git clone项目到本地
- 电脑链接机器,adb识别出来机器
- 安装listener.apk,并启动,隐藏到后台
- 打开终端,并且输入python Test_File.py {package name} {time(hour)}
- 然后就进行测试
- 测试结束之后,可以等设置的时间到了,也可以切换到终端,然后Ctrl+C,终止程序
报告会在根目录下生成。注意:Android4.3以及以上机器流量无法获取暂时