Android SDK MonkeyRunner broken? -



Android SDK MonkeyRunner broken? -

i've been having troubles gettin monkeyrunner working. far, we've tried 3 different computers , every android device our hands on.

the result same:

com.android.monkeyrunner.monkeyrunnerstarter.main(monkeyrunnerstarter.java:203) 110715 16:59:55.819:s [main] [com.android.monkeyrunner.monkeyrunneroptions] script terminated due exception 110715 16:59:55.819:s [main] [com.android.monkeyrunner.monkeyrunneroptions]traceback (most recent phone call last): file "/users/lorinbeer/projects/phonegapminer/monkeyrun.py", line 10, in <module> device = monkeyrunner.waitforconnection() @ com.google.common.base.preconditions.checknotnull(preconditions.java:182) @ com.android.monkeyrunner.adb.adbmonkeydevice.<init>(adbmonkeydevice.java:68) @ com.android.monkeyrunner.adb.adbbackend.waitforconnection(adbbackend.java:100) @ com.android.monkeyrunner.monkeyrunner.waitforconnection(monkeyrunner.java:78) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) @ java.lang.reflect.method.invoke(method.java:597) java.lang.nullpointerexception: java.lang.nullpointerexception

this running on osx, phone nexus s.

the python looks like:

from com.android.monkeyrunner import monkeyrunner, monkeydevice device = monkeyrunner.waitforconnection()

i've tried .py file, interactive interpreter. i've tried calling waitforconnection timeout , device id arguments, same results.

any help appreciated, thanks!

--update-- device connected, on, , enabled development. issue monkeyrunner seems limited osx, , might have jdk on osx, , might not issue monkeyrunner itself.

please verify device 'usb debugging' set true. find under: settings->application->development

monkeyrunner android-sdk-tools

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -