脚本:

adb shell monkey -p 应用包名 --throttle 随机事件间隔 -v -v -v -s 1 --ignore-security-exceptions --kill-process-after-error --monitor-native-crashes 随机事件个数 > Monkey日志保存路径

例子:

adb shell monkey -p com.xinye.test --throttle 500 -v -v -v -s 1 --ignore-security-exceptions --kill-process-after-error --monitor-native-crashes 16400000 > E:\\monkey.txt

 

停止Monkey进程
adb shell
ps|grep monkey
kill id

相关文章:

  • 2021-09-02
  • 2021-12-06
  • 2022-12-23
  • 2021-10-18
  • 2021-08-18
  • 2021-06-06
  • 2021-11-19
  • 2022-12-23
猜你喜欢
  • 2021-06-29
  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
  • 2021-12-10
  • 2021-12-09
  • 2021-07-13
相关资源
相似解决方案