GithubHelp home page GithubHelp logo

android-mulator's Introduction

android 应用自动化程序

模拟器采用mumu模拟器,实现android批量处理部署等操作

安装必备

环境

  • 本地安装 Tesseract-OCR 下载地址 Tesseract-OCR下tessdata中具备 chi_sim.traineddata 训练模型文件
  • 设置环境变量 PATH变量: D:\Program Files\Tesseract-OCR 以及 ANDROID_HOME变量:D:\platform-tools
  • python 3.9
  • mumu模拟器12 下载地址
  • adb 下载地址

第一阶段

初始化模拟器

  • 批量启动模拟器

    • 设置模拟器分辨率 960*540
  • 执行命令,初始化连接

    python main.py --action init --first 16384 --num 10
    
具体参数
  • action 启动类型
    • init 初始化部署app,创建模拟器连接
  • num 虚拟机数量
  • first 虚拟机初始端口

第二阶段

运行服务,控制app

python main.py --action init --first 16384 --num 10
具体参数
  • action 启动类型
    • run 运行操作app
  • num 虚拟机数量
  • first 虚拟机初始端口

*** 暂不支持 host 跨主机远程 ***

android-mulator's People

Contributors

fangsean avatar

Stargazers

weihan avatar

Watchers

weihan avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.