The problem is that you didn't add the .jar as an AndroidJavaLibrary to your 
Application project:

        http://stackoverflow.com/a/10914223/83444

 - Jon

On Jun 6, 2012, at 5:54 AM, bjarke wrote:

> Hey Guys.
> 
> I am trying to bind a jar(zubhium sdk jar) file to my mono droid project. I
> have followed the guide on xamarins website and created a new binding
> project which I reference I my mono droid project. I am having some issues
> with package names. I get the following error:
> 
> Error   3    package com.zubhium.interfaces does not exist
>       * com.zubhium.interfaces.ZubhiumListener*
> 
> C:\Users\jbp\Desktop\ny\CmsApp.Droid\obj\Debug\android\src\mono\com\zubhium\interfaces\ZubhiumListenerImplementor.java
>  
> 8   25  CmsApp.Droid
> 
> From the genrated source:
> package mono.com.zubhium.interfaces; 
> 
> public class ZubhiumListenerImplementor
>            extends java.lang.Object
>            implements
>                mono.android.IGCUserPeer,
>              *  com.zubhium.interfaces.ZubhiumListener*
> 
> The error seems to be caused by the project automaticly adds
> mono(.com.zubhium....) to the package name. I cant find how to remove this
> mono or if i can set a rule to add this part.
> 
> I tried to put <attr path="/api/package[@name='com.zubhium.interfaces']"
> name="managedName">mono.com.zubhium.interfaces</attr> in the xmldata.xml
> file but that did not work.
> 
> Do you guys have any sugestions?
> 
> Regards
> 
> --
> View this message in context: 
> http://mono-for-android.1047100.n5.nabble.com/jar-binding-with-4-2-package-name-issue-tp5710171.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> 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