Android 用 .NET エラー XA0115
Invalid value 'armeabi' in $(AndroidSupportedAbis). This ABI is no longer supported. Please update your project properties to remove the old value. If the properties page does not show an 'armeabi' checkbox, un-check and re-check one of the other ABIs and save the changes.
Android NDK r17 での armeabi サポートの 変更により.NET for Android 9.1 は armeabi アーキテクチャをサポートする最後のバージョンです。
エラーの原因となる$(AndroidSupportedAbis)
の .csproj ファイル要素の例:
<AndroidSupportedAbis>armeabi;armeabi-v7a;arm64-v8a</AndroidSupportedAbis>
$(AndroidSupportedAbis)
プロパティでこの古い ABI が選択されているプロジェクトは、新しいバージョンの .NET for Android で正常にビルドされる前に、それを削除するために更新する必要があります。 代わりに、新しい armeabi-v7a ABI を使用する必要があります。
armeabi
値は、.csproj を直接編集するか Windows または macOS の Visual Studio プロパティ ページの設定を更新することで、このプロパティから削除できます。
ソリューション エクスプローラーでプロジェクトを選択し、Properties アイコンをクリックするか、プロジェクトを右クリックして Properties を選択します。
サイド ウィンドウで、[ Android オプションを選択します。
[Advanced] \(詳細設定) ボタンを選択します。
Supported アーキテクチャ一覧に armeabi チェックボックスが含まれるので、古い armeabi 設定を削除し、他の 1 つの AVI のチェックを解除して再チェックするには、Close ボタンをクリックして変更を保存します。
Solution パッドでプロジェクトを Control キーを押しながらクリックし、Options を選択します。
サイド ウィンドウで、[ Android Build を選択します。
[詳細] タブを選択します。
Supported ABIsリストで、armeabiチェックボックスをオフにし、OK ボタンをクリックして変更を保存します。