Błąd XA4261 platformy .NET dla systemu Android

Przykładowy komunikat

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

Wygenerowany konstruktor Java musi wywołać konstruktor Java w swoim typie podstawowym. Brak zgodnego konstruktora bazowego ani zapasowego konstruktora bez parametrów.

Rozwiązanie

Udostępnij zgodny, zarejestrowany konstruktor w typie bazowym, dodaj bezparametrowy konstruktor bazowy lub usuń konstruktor klasy pochodnej.