猴子测试android的错误

时间:2014-06-06 11:35:09

标签: android monkey

我想用猴子测试我的apk(包名:com.edutor.ignitor)。所以我输入了以下命令

adb shell monkey -p com.edutor.ignitor -v 200

得到如下错误

:Monkey: seed=1403140033385 count=200
:AllowPackage: com.edutor.ignitor
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
** No activities found to run, monkey aborted.

接下来我输入以下命令

adb shell monkey -p com.edutor.ignitor -c android.intent.category.LAUNCHER -c android.intent.category.MONKEY -vvv 100

得到如下错误

:Monkey: seed=1403155767105 count=100
:AllowPackage: com.edutor.ignitor
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
** No activities found to run, monkey aborted.

有什么建议吗??

1 个答案:

答案 0 :(得分:0)

而不是输入种子值,猴子没有可执行事件,加上种子值,设置为20,例如:

adb shell monkey -p om.edutor. Ignitor-s 20-v-v-v 200