用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.MONKEYNo activities found to run, monkey aborted 检查后发现错误原因:包名com.example.test写错了,需仔细检查包名;修正后即正常 参考:http://stackoverflow.com/questions/27137905/android-monkey-no-activities-found-to-run-monkey-aborted