Answer the question
In order to leave comments, you need to log in
Error when initializing java class in xamarin, how to port java libraries correctly?
I want to export a simple java class to xamarin through the binding library, here is the code of this class:
package Native;
public class Test {
public Test(){
//ctor
}
public static String RunGO(String i){
i = i+ "who is why";
return i;
}
public static void Run(){
}
}
Native.Test.Run();
var a = Native.Test.RunGO("sd");
var test = new Native.Test();
An unhandled exception occurs.
Unhandled Exception:
Java.Lang.CloneNotSupportedException: Loading...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question