android - Monodroid issue with jar binding zubhium sdk -
iam trying bind jar(zubhium sdk jar) file mono droid project. have followed guide on xamarins website , created new binding project reference mono droid project. having issues package names. following error:
error 3 package com.zubhium.interfaces 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 genrated source: package mono.com.zubhium.interfaces; public class zubhiumlistenerimplementor extends java.lang.object implements mono.android.igcuserpeer, com.zubhium.interfaces.zubhiumlistener
and because when project wrapped automaticly adds mono(.com.zubhium....) package name. cant find how remove mono or if can set rule add part.
i tried put <attr path="/api/package[@name='com.zubhium.interfaces']" name="managedname">mono.com.zubhium.interfaces</attr>
in xmldata.xml file did not work.
do guys have sugestions?
regards
package com.zubhium.interfaces not exist
when bind .jar
library , reference binding project project, need also add .jar
application project , set build action androidjavalibrary
.
failure means .jar
won't added javac
$classpath
, resulting in javac
compilation errors when compiling android callable wrapper (as saw), , .jar
won't included final .apk
. both of these bad™.
and because when project wrapped automaticly adds mono(.com.zubhium....) package name.
that's "implementor" type; can ignore it. it's used part of implementation of events. if @ generated c# code, there should be:
[global::android.runtime.register ("mono/com/zubhium/interfaces/zubhiumlistenerimplementor")] internal sealed class zubhiumlistenerimplementor : java.lang.object, izubhiumlistener { // ... }
the mono.com.zubhium.interfaces.zubhiumlistenerimplementor
acw internal zubhiumlistenerimplementor
type.
you can't rename type; it's internal construct isn't controlled via metadata.
Comments
Post a Comment