android 获取屏幕当前页面名称

  1. 使用android studio 的Layout Inspector
  2. 执行如下命令:adb shell “dumpsys window | grep mCurrentFocus”

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注