1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| dev:每隔 1s 输出一次APP CPU信息,命令如下 $adb shell $adb top -d 1 | grep com.packagename.xxx
dev: 获取Apk安装的路径 adb shell pm path com.packagename.xxx
dev: 导出apk文件 adb pull /data/app/com.packagename.xxx/base.apk
adb shell pm list package example: $ adb shell pm list package tao package:com.taobao.taobao
dev:结合 grep 搜索包名 $ adb shell pm list package | grep -i z package:ru.zdevs.zarchiver
查询进程优先级 adb shell dumpsys meminfo
|