It seems to be installed, however you should use python
as the interpreter, not monkeyrunner
.
The first line in your script should be
#! /usr/bin/env python
and the script should be executable
$ chmod +x myscript.py
BTW, to have a template to start the creation of your script you can use
$ culebra -U -o mytest.py
and it will create a test script that you can then modify to suite your needs.
EDIT
According to you gist what you are trying to do, can be done using culebra
and perhaps some edits to the generated file.
$ culebra --do-not-verify-initial-screen-dump --start-activity=com.android.settings/.Settings --output=settings.py
Notice that I'm using Settings
because DevelopmentSettings
is usually a Fragment not an Activity.