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) }'
原文地址:https://www.cnblogs.com/xiaoQLu/p/9952767.html