终端使用bash shell
adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp'
app包名和活动窗口名都要提供, 否则无法启动
adb shell am start 包名/活动窗口名
Powered by: 博客园 Copyright © 2024 ErgoCogito Powered by .NET 8.0 on Kubernetes