範例訊息
Use of AppDomain.CreateDomain() detected in assembly: {assembly}. .NET 6 will only support a single AppDomain, so this API will no longer be available in .NET for Android once .NET 6 is released.
注意:這個錯誤會對應到 .NET for Android 中的XA2000。
解決方法
將程式碼從 AppDomain.CreateDomain() 轉換為其他 API,例如 AssemblyLoadContext。