查看包名
adb shell dumpsys window w | findstr \/ | findstr name=
基本用法
adb shell monkey -p com.shanghai.test -v 10000
输出日志
adb shell monkey -p com.shanghai.test -v 100 >e:\日志2.txt
停止测试
ps | grep monkey
kill pid 进程
com.shanghai.test :示例包名,通过查看包名获得
原文:https://www.cnblogs.com/jwyblogs/p/13718586.html