新手区 跑 monkey 时出现 killed

赵籼 · 2017年08月10日 · 最后由 daxuefei 回复于 2018年09月05日 · 1384 次阅读

请教各位大神,跑 monkey 时出现 killed 是什么原因?该如何处理?

:Monkey: seed=1502679782184 count=1000
:AllowPackage: com.tencent.mobileqq
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
// Event percentages:
// 0: 15.0%
// 1: 10.0%
// 2: 2.0%
// 3: 15.0%
// 4: -0.0%
// 5: -0.0%
// 6: 25.0%
// 7: 15.0%
// 8: 2.0%
// 9: 2.0%
// 10: 1.0%
// 11: 13.0%
:Switch: #Intent;action=android.intent.action.MAIN;category=android.intent.categ
ory.LAUNCHER;launchFlags=0x10200000;component=com.tencent.mobileqq/.activity.Spl
ashActivity;end
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.in
tent.category.LAUNCHER] cmp=com.tencent.mobileqq/.activity.SplashActivity } in p
ackage com.tencent.mobileqq
// Allowing start of Intent { act=android.intent.action.MAIN cat=[android.in
tent.category.LAUNCHER] cmp=com.tencent.mobileqq/.activity.SplashActivity } in p
ackage com.tencent.mobileqq
:Sending rotation degree=0, persist=false
Killed

共收到 2 条回复 时间 点赞

命令加上 --ignore-native-crashes 试下, 忽略本地代码导致的崩溃。设置忽略后,Monkey 将执行完所有的事件,不会因此停止。当然还有类似的 --ignore-crashes ,--ignore-timeouts ,--ignore-security-exceptions

我这边加上那些忽略还是会被 killed,想问下有什么解决的方法吗?@lose

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册