我正在将 Xamarin 表单代码迁移到 .NET MAUI。迁移后,当我构建 Android 项目时,出现以下错误:
Error XAGJS7028 System.IO.FileNotFoundException: Could not load assembly 'Xamarin.AndroidX.AppCompat.Resources, Perhaps it doesn't exist in the Mono for Android profile?
我不知道如何解决这个问题。有什么建议吗?
我今天遇到了类似的问题,添加 nuget 包
Xamarin.AndroidX.AppCompat.Resources
(版本 1.1.0.2)实际上为我修复了构建。