示例消息
error XA4259: Type 'Example.MyActivity' has multiple managed constructors that map to the same Java Native Interface (JNI) signature '(I)V'. Change the constructor parameter types so each constructor has a unique JNI signature.
Issue
两个托管构造函数的参数列表映射为相同的 JNI 签名。 例如,int 和 uint 都映射到 Java int,并且两个托管绑定类型可以作为同一 Java 类型的别名。
解决方案
删除一个构造函数或更改其参数,以便每个Java可见的构造函数都具有唯一的 JNI 签名。