1.开启USB 2.连接USB线 3.adb devices 3.1 查不到的话需要下载电脑版豌豆荚与手机版,连接后切记卸载否则会占用端口 4.开启USB安装修改的权限
C:\Users\>adb shell dumpsys activity top| findstr ACTIVITY
ACTIVITY com.tencent.mm/.plugin.appbrand.ui.AppBrandUI ab9217d pid=26135
C:\Users\>adb shell ps 26135
USER PID PPID VSIZE RSS WCHAN PC NAME
u0_a157 26135 538 2276912 342344 futex_wait 0000000000 S com.tencent.mm:appbrand0
UIautomatorviewer
accessibility_id对应content-desc id对于resource
|
请发表评论