希望添加外接adb设备支持

Open
#205 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
android, python
Domain
desktop, devtools

Research direction

Start by reading the existing GeneralDeviceManager and AdbController ADB address parsing and how emulator managers connect devices. The issue suggests adding a direct ADB connection option for IP:port or USB devices, or allowing scripts such as MaaEnd to accept an ADB address without an emulator manager. Done means physical Android devices can be used for automation over USB or network ADB.

Written by the indexing model from the issue text.

Description

目前 AUTO-MAS 的模拟器管理只支持通过模拟器多开器 exe 连接模拟器(MuMu、雷电等),但底层已经有 GeneralDeviceManager 和 AdbController 的 ADB 地址解析能力。

希望能增加对物理安卓设备(通过 ADB 直连) 的原生支持,比如:

在模拟器管理中添加一个 "ADB 直连" 类型,直接输入设备 IP:端口 或选择 USB 设备
或者在 MaaEnd 等脚本的 ADB 控制器中允许手动填写 ADB 地址,而不强制绑定模拟器管理器
这样可以通过 adb connect 连接局域网内的手机或 USB 连接的安卓设备进行自动化任务,场景更灵活。谢谢!

Dominant language
Python
Stars
707
Forks
56
Avg merge
11h 45m
Merged PRs (30d)
429

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AUTO-MAS-Project/AUTO-MAS

All issues in AUTO-MAS-Project/AUTO-MAS

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.