문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top