Re: [mono-android] The GenerateJavaStubs task failed unexpectedly.

2012-06-12 Thread Jonathan Pryor
On Jun 11, 2012, at 4:46 AM, Terry151151 wrote: > My problem was that the Javascript interface was is in a library, and so was > the reference to Mono.Android.Export. This has been filed as: https://bugzilla.xamarin.com/show_bug.cgi?id=5618 > I also have another question related to the

Re: [mono-android] The GenerateJavaStubs task failed unexpectedly.

2012-06-11 Thread Terry151151
My problem was that the Javascript interface was is in a library, and so was the reference to Mono.Android.Export. As soon as I put the reference to Mono.Android.Export into the main program the problem disappeared. I also have another question related to the Javascript interface. Can the interfac

Re: [mono-android] The GenerateJavaStubs task failed unexpectedly.

2012-06-07 Thread Atsushi Eno
Hello, Could you please try this: we have an example for WebView Javascript interface in our "monodroid-samples" module https://github.com/xamarin/monodroid-samples There is "WebViewJavaScriptInterface" example which is exactly for what you are trying to do: https://github.com/xamarin/monodr

[mono-android] The GenerateJavaStubs task failed unexpectedly.

2012-06-06 Thread Terry151151
I'm trying to create a JavaScript interface for use with a WebView. I created the class below and used it as shown. I have also added a reference to Mono.Android.Export to the project. When I compile I get the error Shown further below. using Java.Interop; namespace Common { public class