I have been trying to bind a Java library with 4 jar files into Xamarin. I have set up one of the jar files are the EmbdeddedJar, the other 3 as EmbeddedReferenceJar.
I have tons of warnings while building the bindings but the total count may not be as relevant as I see lots of duplicate errors/warnings.
- Unknown return type com.abc.RTTPEncodable
I see this interface in one of the Reference Jar files. The jar2xml command line seems ok, all jar files are correctly marked as either --jar or --ref...but the output api.xml indeed does not have this RTTPEncodable definition anywhere.
-
I get a wrning of FxDB naming violations. I tried to work it out in metadata.xml but it does not seem to be effective
-
warning BG8900: Type com.abc.credentials.Credentials: FxDG naming violation: Type name 'Credentials' matches namespace part 'Credentials'.
- warning BG8900: Type com.abc.util.random.Random: FxDG naming violation: Type name 'Random' matches namespace part 'Random'.
my rules:
<attr path="/api/package[@name='com.abc.credentials']/class[@name='Credentials']" name="managedName">SLCredentials</attr>
<attr path="/api/package[@name='com.abc.util.random']/class[@name='Random']" name="managedName">SLRandom</attr>
Any ideas what's going on here ?