Android XA0035-ös .NET-hiba

Probléma

Az Androidhoz készült .NET nem tudta meghatározni az alkalmazás cél Android ABI-jét a .csproj fájl által megadott módon.

Megoldás

Nyissa meg a projektfájlt a Visual Studióban vagy egy másik szövegszerkesztőben, és győződjön meg arról, hogy az RuntimeIdentifiers MSBuild tulajdonság összes értéke érvényes:

<PropertyGroup>
  <RuntimeIdentifiers>android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers>
</PropertyGroup>

További információkért tekintse meg a Futtatókörnyezet-azonosítók microsoftos dokumentációját .

Példaüzenetek

error XA0035: Unable to determine the Android ABI from the value 'XYZ'. Edit the project file in a text editor and set the 'RuntimeIdentifiers' MSBuild property to contain only valid identifiers for the Android platform.