adb shell pm list packages -i 只输出包和安装信息 adb shell pm list packages -f 输出包和包相关联的文件 adb shell pm path <包名> 查看,打印包的路径 adb shell ps | findstr 关键字 查看进程 adb shell am start 页面文件名(activity) 启动app adb shell am force-stop 包名 关闭app adb shell to...
8.3.1 adb shell am start +包名/.Activity (要启动的Activity) 启动一个 Activity (-s先停止目标应用,再启动 -w 等待应用完成启动 -a 启动默认浏览器打开一个网页例:adb shell am start -a android.intent.action.VIEW -d http://testerhome.com) 8.3.2 adb shell am monitor 监控 crash 与 ANR 8.3....
1.adb shell pm list packages -3 查看非系统第三方应用包名 2.adb shell ps | findstr vchat.A 查看包名进程 3.根据进程来查看过滤app的日志 adb logcat | findstr vchat.A 遇到问题:查看app日志时,日志打印到一半莫名报错,写入错误? 原因如下:adb logcat findstr 有时候会出现 写入错误,需要设置一下语言编...
adb logcat|findstr"matched_string" ::安装/卸载adb installxxx.apkadb uninstallpackage_name ::拉取/推送adb remountadb pull/sdcard/a.mp4 C:\Users\81518\Desktop\adb pushC:\Users\81518\Desktop\a.mp4 /sdcard/ ::查看当前界面运行的 activity 及其包名adb shell dumpsys window|findstr...
p="adb shell ps | findstr zhiyun.com.mirrorplusandroid" o="adb shell top" k="adb shell kill 3668 " s="adb shell ps | findstr uiautom " z='adb shell dumpsys window | findstr init' #查看分辨率 mDisplayId 为 显示屏编号,init 是初始分辨率和屏幕密度,app 的高度比 init 里的要小,表示...
adb shell pm list packages-s #系统应用 adb shell pm list packages-3#三方应用 adb shell pm list packages|findstr bluetooth #过滤应用 管道符进行搜索,Linux下使用grep 2).查看应用的Activity信息 代码语言:javascript 复制 adb shell dumpsyspackagecom.android.bluetooth #查看系统应用蓝牙的包名信息 ...
执行adb shell ps | grep adbd ,可以找到该后台进程,windows 请使用 findstr 替代 grep 代码语言:javascript 代码运行次数:0 复制 Cloud Studio代码运行 adb shell ps|grep adbd root2322716672832ffffffff 00019bb4S/sbin/adbd ADB命令: 如果多设备需要单独控选定调试则: ...
adb shell<command命令> ps: adb shell 后面加的是linux系统操作指令,也即直接运行设备命令, 相当于执行远程命令 -查看手机产线版本 adb shellcat/sys/devices/mx_tsp/appid -查看手机运营商版本 adb shellcat/proc/lk_info/sw_version -查看手机是否加密 ...
命令:adb shell dumpsys package com.tencent.mobileqq | grep version adb shell bugreport当我们手机突然报错或者anr 直接终端输入adb shell bugreport就会打印出相对比较全的日志信息。adb shell dmesg手机查看内核信息可以使用此命令 获取应用的内存消耗:单个应用内存消耗命令:adb shell dumpsys meminfo com.tencent.mo...
adb shell dumpsys activity top | findstr ACTIVITY # 查看当前界面的Activity adb shell "dumpsys activity top | grep ACTIVITY | tail -n 1" # 根据上一行查询出的package,查找该App的launcher Activity adb shell "dumpsys package com.gitvdemo.video | grep -A 4 'MAIN'" ...