Jon,

Does the build action AndroidJavaSource work for JAR files also?

Also, I've had some difficulty locating the documentation for
AndroidJavaSource,
do you know where it is? I'm looking for more details on how it is exposed
to the C# code..

Is it exposed via JNI calls from C# ?


Thanks,

Elan

On Thu, Sep 8, 2011 at 10:19 AM, Jonathan Pryor <j...@xamarin.com> wrote:

> On Sep 8, 2011, at 8:06 AM, Tomasz Cielecki wrote:
> > I still don't get the output of the error. Even by increasing the
> mandroid verbosity.
>
> At this point I'm at a loss for why you're not seeing compilation errors.
>
> Could you file a bug at bugzilla.xamarin.com and attach your project? You
> can mark the bug private if desirable.
>
> One sanity check: have you set the Build action for your .java sources to
> AndroidJavaSource?
>
> > How do you usually add new java sources to a project? I just started
> > by copying an existing source from one of the example projects on
> > github and copied that java source every time I needed a new java
> > file. Is this a wrong way to do it?
>
> That sounds correct, as long as you also remember to set the Build action.
> You also need to ensure that your .java file is saved as UTF-8, _without_ a
> byte-order-mark.
>
>  - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to