範例訊息
error XA4260: Type 'Example.MyActivity' has a constructor parameter type 'System.Int32&' that cannot be represented in a Java constructor. Remove the constructor or change the parameter to a supported Java type.
Issue
Java 可呼叫包裝器無法在建構器簽章中表示通用參數或實例、參考型別、指標、函式指標或矩形陣列。
解決方案
移除 Java 可見的建構子,或使用原始、字串、綁定的 Java 物件,或單維陣列參數。