adb 获取当前界面activity 获取APP当前界面,有一个很好用的命令,连接手机后每次切换APP的界面即可获得。 adb shell dumpsys window windows | findstr “Current”