adb - 如何在android adb中访问当前和焦点窗口
问题描述
我正在使用 Android API 30 adb
adb shell dumpsys window windows
但它没有显示 mCurrentFocused 和 mFocused 应用程序
请帮帮我
解决方案
我想你可以试试这个:
dumpsys 窗口| grep -E "mCurrentFocus
推荐阅读
- python - 如何解决这个特定的 python 循环导入?
- azerothcore - 如何使被定身的敌人攻击范围内的最高威胁目标?
- c - 我定义了一个宏 sqr(x),它接受一个参数并返回 x*x。当我用 sqr(5+4) 调用宏时,它返回 29。有人可以解释一下吗?
- javascript - 不在 JavaScript 测验应用程序中显示分数?
- javascript - 反应:删除一个孩子而不再次渲染父母
- python - 我正在尝试安装名为“bcrypt”的 npm 包
- python - BlockingIOError: [Errno 35] 资源暂时不可用 [sockets] [multi-threading]
- proxy - 通过 Sap Cloud Platform 中的 Destionation 使用第三方库
- amazon-s3 - 授予 AWS IAM 组对单个 S3 存储桶的访问权限
- java - 如何使用 Android 意图将 .txt 文件附加到电子邮件?