Question

I'm trying to make a script using MonkeyRunner & AndroidViewClient to test my own application.

I set the all environment variables in my Mac OS X. Of course, I can test my android application with a terminal command like './monkeyrunner test_script.py' and perform normally.

However, when I use the same script in Xcode, I got 'Couldn't connect to (Project path) : java.lang.NullPointerException' message.

Is there anyone who can help me?

Was it helpful?

Solution

The latest AndroidViewClient 4.x.x doesn't use monkeyrunner nor java, only python. You should upgrade your scripts, unless you are depending on some of the very few functionality that was not ported yet.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top