Android용 .NET 오류 XA0035

문제

Android용 .NET에서 파일에서 지정한 대로 애플리케이션의 대상 Android API 를 .csproj 확인할 수 없습니다.

해결 방법

Visual Studio 또는 다른 텍스트 편집 기에서 프로젝트 파일을 열고 MSBuild 속성의 모든 값이 RuntimeIdentifiers 유효한지 확인합니다.

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

.NET 11에서 CoreCLR은 이러한 세 가지 RID를 지원합니다. Android NativeAOT는 실험적이며 동일한 집합을 지원합니다.

자세한 내용은 런타임 식별자에 대한 Microsoft 설명서를 참조하세요.

예제 메시지

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.