Issue
.NET for Android 無法判斷應用程式的目標Android ABI,如.csproj檔案所指定。
解決方案
請 在 Visual Studio 或其他文字編輯器中開啟專案檔案,並確認 MSBuild 屬性中 RuntimeIdentifiers 的所有值皆有效:
<PropertyGroup>
<RuntimeIdentifiers>android-arm;android-arm64;android-x86;android-x64</RuntimeIdentifiers>
</PropertyGroup>
更多資訊請參閱 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.