五、adb常用命令
SDK路径下的 \Android\Sdk\platform-tools\adb.exe
adb devices 查看连接的设备
adb shell getprop ro.build.version.release 查看系统版本
adb shell dumpsys window windows | findstr mFocusedApp 获取正在运行的app启动包名
结果为空,我不知道是不是Android 16版本的缘故
adb logcat | findstr -i displayed 获取当前页面的activity
随着操作切换页面,能动态查看