Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Java Binding - all Transforms files are empty

$
0
0

Hi there,

I am new to Xamarin. Trying to build a Java Binding Library project but hitting a wall.

I added 4 jar files, set one the EmbeddedJar, rest as EmbeddedReferenceJar..

All files in Transforms folder are empty at this point...

I try to build and I get a couple of errors.

All files in Transforms folder are still empty...

Q0: Is the sequence correct here or am I missing something? - create JNL project - add Jar files - mark Jar files correctly in Actions - build all

Q1: At which point should I expect the Transform folder files to be populated with something?

Q2: If they are empty while they should not be, what could be the reason?

Q3: What is the best practice to deal with errors like those below - mind you these are generated files:

/SLBindingLibrary/SLBindingLibrary/obj/Debug/generated/src/Com.Rttp.Rtjl.Messaging.IMessageListener.cs(10,10): Error CS0102: The type Com.Rttp.Rtjl.Messaging.WarningEventArgs' already contains a definition forp0' (CS0102) (SLBindingLibrary)

/SLBindingLibrary/SLBindingLibrary/obj/Debug/generated/src/Com.Rttp.Rtjl.Messaging.IMessageListener.cs(41,41): Error CS0102: The type Com.Rttp.Rtjl.Messaging.IMessageListenerImplementor' already contains a definition forWarningHandler' (CS0102) (SLBindingLibrary)

Q4: How will Xamarin deal with obfuscated Java code in the jar file? What is the obfuscated code contains characters that are prohibited in C# for example.

Q5: What if the main jar file is fine but it uses another jar file that is obfuscated? Is this going to be an issue?

Thanks!

Frank


Viewing all articles
Browse latest Browse all 204402

Trending Articles