[mono-android] jar binding with 4.2 package name issue
bjarke
jbp at itai.dk
Wed Jun 6 09:54:53 UTC 2012
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.
More information about the Monodroid
mailing list