Thursday, March 17, 2011

[android-developers] Re: Using Eclipse write monkeyrunner

first thank you :)

i think post img is better.

eclipse python setting:
http://goo.gl/b6R3T

eclipse jython setting:
http://goo.gl/xTGmI

compile issue:
http://goo.gl/JiBs3

On 3月17日, 上午7時42分, Bill Napier <nap...@google.com> wrote:
> Can you provide the full stack trace from your first mail?  It looks like
> part of it got cut off.
>
> @diego - I've filed a bug to look at fixing the unbuffered input issue that
> you had to work around.  It would be nice if monkeyrunner could just do this
> without resorting to a wrapper script.
>
>
>
>
>
>
>
> On Tue, Mar 15, 2011 at 1:46 AM, c j <techandroid....@gmail.com> wrote:
> > in command line used monkeyrunner is ok
> > but i need used eclipse can Instantly watch result
> > thank you
>
> > On 3月15日, 上午10時23分, "A. Elk" <lancaster.dambust...@gmail.com> wrote:
> > > Although I don't think that monkeyrunner was designed to be used
> > fromEclipse.
>
> > > Whenever you run into a problem with monkeyrunner, try it from the
> > > command line first.
>
> > > On Mar 13, 9:11 pm, Diego Torres Milano <dtmil...@gmail.com> wrote:
>
> > > > Some hints to use monkeyrunner fromeclipsecan be found athttp://
> > dtmilano.blogspot.com/2011/03/using-android-monkeyrunner-from-...
>
> > > > On Mar 11, 6:06 am, c j <techandroid....@gmail.com> wrote:
>
> > > > > I needusingmonkeyrunner do some easy auto test but have some
> > > > > problem.
>
> > > > >EclipseSDK 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

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

No comments:

Post a Comment