玩转-----appium获取AppPackage和AppActivity

方法一:
aapt
aapt dump badging 应用程序包路径
 
方法二:
monkey
缺省值2 查找Activity
 
方法三:
adb shell logcat findstr START然后在模拟器或真机里面启动需要查询的应用就可以了
 
方法四:
adb shell dumpsys activity com.jhss.youguu
 
方法五:
adb shell logcat | grep(findstr) Acitivity . 找到cmp
 
 
方法六:
adb shell logcat ActivityManager:I*:s
 
 
方法七:
adb shell dumpsys activity | grep mFocusedActivity
 
 
方法八:
adb shell dumpsys activity activitys
原文地址:https://www.cnblogs.com/zsplovezsp/p/12443069.html