範例訊息
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 簽章。