通过web远程控制Android手机
- 安装adb,确保adb在path环境变量中,并且Android设备已连接并启用调试模式
- 安装Python 3.7+和pip
- 安装源码:
- 克隆项目仓库:
git clone https://github.com/baixin1228/web-scrcpy.git - 进入项目目录:
cd web-scrcpy - 安装依赖:
pip3 install -r requirements.txt - 启动运行:
python3 app.py
- 克隆项目仓库:
- 打开一个浏览器,访问
http://localhost:5000,即可看到scrcpy的控制界面
- Fork 项目.
- 创建一个新分析: git checkout -b your - branch - name
- 提交Pull Request.
Apache License 2.0.
