android經常使用命令

一、查看apk內容 android

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

二、查看monkey運行與結束shell

adb shell ps | grep monkey
adb shell ps | awk '/com\.android\.commands\.monkey/ { system("adb shell kill " $2) }'
相關文章
相關標籤/搜索