Edit

.NET for Android error XA4261

Example message

error XA4261: Type 'Example.MyActivity' has Java constructor signature '(Ljava/lang/String;)V', but its base type does not expose a compatible Java constructor. Add a compatible base constructor or remove the derived constructor.

Issue

The generated Java constructor must invoke a Java constructor on its base type. No compatible base constructor or parameterless fallback is available.

Solution

Expose a compatible registered constructor on the base type, add a parameterless base constructor, or remove the derived constructor.