I failed to config the python interpreter in both Windows and ubunut.
In windows, the configed interpreter can't be applied.
In ubuntu, I got an error like the following:

<https://lh4.googleusercontent.com/-bquqKOZKf_k/T8X-a9X_WAI/AAAAAAAAABY/Tmc_IrVvQCo/s1600/123.jpg>


Can anyone please help a hand?

Thanks,
Roger


在 2011年3月11日星期五UTC+8下午7时06分58秒,c j写道:
>
> I need using monkeyrunner do some easy auto test but have some 
> 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! 
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to