weibo_一叶菩提a一念尘缘_0
2018-11-06 18:11
在执行命令的时候,成功了一次,我后来改了一下脚本中的输入文本,再运行的时候就一直提示这个,成功不了,求解答。
monkey -f mook.script 2
** Error: SecurityException while injecting event.
Events injected: 1
## Network stats: elapsed time=46ms (0ms mobile, 0ms wifi, 46ms not connected)
具体为什么运行一遍之后又因为权限问题不能运行我也不清楚,但是后来加了参数
--ignore-security-exceptions
忽略了权限问题就可以正常运行了。大家如果遇到了也可以试试,如:
monkey -f mook.script --ignore-security-exceptions 2
App压力测试入门
38418 学习 · 234 问题