.NET for Android error XA4215
Example messages
error XA4215: The Java type `com.contoso.library1.Class1` is generated by more than one managed type. Please change the [Register] attribute so that the same Java type is not emitted.
error XA4215: `com.contoso.library1.Class1` generated by: Library1.Class1, Library1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
error XA4215: `com.contoso.library1.Class1` generated by: Library1.Class1, Library2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Issue
This error indicates that two or more C# types are emitting the same fully qualified Java type name.
Solution
To resolve this error, change the [Register]
attribute on one of the C# types
to a different Java type name.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for