Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望能够从命令行或测试脚本(例如后退、菜单或主页按钮)访问模拟器的 ui 按钮。这可以通过 adb shell 完成吗?或者有谁知道直接用 OS X 做到这一点的方法?
您可以使用模拟器控制台来执行此操作。