problem.
Eclipse SDK 3.6.2 (Pydev 1.6.5 + Jython 2.5.2 + Python 2.7.1 +
monkeyrunner.jar + google-collect-1.0-rc1.jar)
jdk1.6.0_24
android-sdk-windows
i try this example in second line have wrong
http://developer.android.com/guide/developing/tools/MonkeyRunner.html
# Imports the monkeyrunner modules used by this program
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
# Connects to the current device, returning a MonkeyDevice object
device = MonkeyRunner.waitForConnection()
error msg
device = MonkeyRunner.waitForConnection()
at
com.android.monkeyrunner.MonkeyRunner.waitForConnection(MonkeyRunner.java:
74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
java.lang.NullPointerException: java.lang.NullPointerException
Please tell know where setting wrong.
thanks!
I think post img is better :)
eclipse settings
python
http://goo.gl/WTjDz
jython
http://goo.gl/cKj7P
traceback
http://goo.gl/Ywsm8
thank you