2012-04-11

Does The Monkey Tool Launch Not Your Android App But Other Apps?

Someday I faced a problem with my monkey test. The problem was that the monkey command didn't launch my app specified with -p option. At that time, the monkey command launch other apps like alarm which I didn't specified at all.

However, the monkey command launched my app correctly when I specified -p option in the first argument of the monkey command.

$ adb shell
$ monkey -p your.app.package -v 1 ...

I don't know why, but you should specify your package name with -p options in the first argument.

No comments:

Post a Comment