Android Monkey命令参数详解
执行Monkey命令
adb shell nohup "monkey -s 10 --pct-touch 50 --pct-motion 15 --pct-anyevent 5 --pct-majornav 5 --pct-trackball 10 --pct-nav 0 --pct-syskeys 10 --pct-appswitch 2 --throttle 500 --pkg-blacklist-file /data/local/tmp/blacklist.txt --ignore-crashes --ignore-timeouts --ignore-security-exceptions --monitor-native-crashes --kill-process-after-error --ignore-native-crashes -v -v 259200 &>/sdcard/monkeylogs.txt & "
停止Monkey
adb shell ps | findstr monkey
adb shell kill <monkey pid>
![](https://img2020.cnblogs.com/blog/2124203/202102/2124203-20210203190748887-128299748.png)
Monkey命令参数详解