Compartir a través de


.NET for Android error XA0035

Cuestión

.NET for Android was not able to determine the application's target Android ABIs as specified by the .csproj file.

Solución

Open the project file in Visual Studio or another text editor and make sure all of the values in the RuntimeIdentifiers MSBuild property are valid:

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

Consulte la documentación de Microsoft sobre los identificadores en tiempo de ejecución para obtener más información.

Mensajes de ejemplo

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.