zoukankan      html  css  js  c++  java
  • 玩转-----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
  • 相关阅读:
    bzoj 1977
    bzoj 3389
    bzoj 1064
    codeforces 424D
    codeforces 425C
    codeforces 425D
    codeforces 427E
    codeforces 425E
    codeforces 429D
    codeforces 429E
  • 原文地址:https://www.cnblogs.com/zsplovezsp/p/12443069.html
Copyright © 2011-2022 走看看