android常用命令

1、查看apk内容 

aapt dump badging <apk_path> | grep XXX //获取XXX信息
aapt dump xmltree <apk-file> AndroidManifest.xml
aapt list -a <apk-file>|grep 'Version'

2、查看monkey运行与结束

adb shell ps | grep monkey
adb shell ps | awk '/com\.android\.commands\.monkey/ { system("adb shell kill " $2) }'

 

posted @ 2018-11-13 16:07  muzhi121  阅读(124)  评论(0编辑  收藏  举报