1.adb shell dumpsys activity top | find "ACTIVITY" 查看当前运行的activity包名

2.adb shell am start -n 包名/页面名 打开应用的页面

3.查看将要启动或退出app的包名
adb shell am monitor 只有在启动或退出的时候才会打印

4.查看当前启动应用的包名
adb shell dumpsys window w |findstr \/ |findstr name=

1.adb shell dumpsys activity top | find "ACTIVITY" 查看当前运行的activity包名
2.adb shell am start -n 包名/页面名 打开应用的页面
3.查看将要启动或退出app的包名
adb shell am monitor 只有在启动或退出的时候才会打印
4.查看当前启动应用的包名
adb shell dumpsys window w |findstr \/ |findstr name=