Android Monkey: “No activities found to run, monkey aborted”错误原因

时间:2015-05-19 12:11:06   收藏:0   阅读:2875

用monkey测试app时,输入命令adb shell monkey -p  com.example.test -v -500 发现报错,

错误输入:

:Monkey: seed=13 count=500
:IncludeCategory: android.intent.category.LAUNCHER
:IncludeCategory: android.intent.category.MONKEY
No activities found to run, monkey aborted


检查后发现错误原因:包名com.example.test写错了,需仔细检查包名;修正后即正常

参考:http://stackoverflow.com/questions/27137905/android-monkey-no-activities-found-to-run-monkey-aborted

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!