Alex Rivera | Logout

Where is the help.py for Android's monkeyrunner

Asked 2010-12-09T08:58:12.420
9

I just can't find the help.py file in order to create the API reference for the monkeyrunner. The command described at the Android references

monkeyrunner <format> help.py <outfile> does not work when i call monkeyrunner html help.py /path/to/place/the/doc.html.

It's quite obvious that the help.py file is not found and the monkeyrunner also tells me "Can't open specified script file". But a locate on my system doesn't bring me a help.py file that has anything to do with monkeyrunner or Android.

So my question is: Where did they hide the help.py file for creating the API reference?

Edit
Report

1 Answer

0

There's an error in monkeyrunner's help documentation (monkeyrunner Built-in Help), you should use parameters in another order:

monkeyrunner help.py <format> <outfile>

And don't forget about specifying a full path to the script, if you're running it outside of the monkeyrunner.bat directory (android monkeyrunner scripts).
If you don't have Repo Sync, described by users above, you can find the sources (including help.py), for example, here: monkeyrunner scripts.

I opened an issue at Google Code (Issue 26259: monkeyrunner Built-in Help Description Error) and I hope that they'll fix it soon.

answered 2012-03-01T15:15:39.663

Your Answer