We re-factored a bunch of code to take a lot of the MonkeyRunner source and
make it available as a library, specifically for people doing project
similar to what you're doing.  You should probably stop depending on the
monkeyrunner.jar and start depending on chimpchat.jar (the new java library
that encapsulates this functionality).  A new example looks like this:

                Map<String, String> options = new TreeMap<String, String>();
                options.put("backend", "adb");
                ChimpChat chimpchat = ChimpChat.getInstance(options);
                IChimpDevice device = chimpchat.waitForConnection();

Which is the same snippet as before, but with the updated code.

Bill

On Sat, Aug 20, 2011 at 1:34 PM, Vikram <[email protected]> wrote:

> Dear Bill,
>
> Why would I be getting the following error while trying to compile ?
>
> Exception in thread "AWT-EventQueue-0" java.lang.Error: Unresolved
> compilation problem:
>     Type mismatch: cannot convert from AdbBackend to IMonkeyBackend
>
> AM using what you had quoted to initiate the connection to the device.
>
> CHeers,
> Vikram.
>
> --
> 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
>

-- 
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