当我尝试使用FFImageLoading构建或调试应用程序时,我收到此错误:
1>D:\Programmi\visualstudio\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018: errore imprevisto dell'attività "LinkAssemblies".
1>D:\Programmi\visualstudio\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1696,5): error MSB4018: Mono.Linker.MarkException: Error processing method: 'System.Void FFImageLoading.Forms.Droid.CachedImageFastRenderer/ElevationHelper::SetElevation(Android.Views.View,Xamarin.Forms.VisualElement)' in assembly: 'FFImageLoading.Forms.Droid.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Nullable`1<System.Single> Xamarin.Forms.PlatformConfiguration.AndroidSpecific.Elevation::GetElevation(Xamarin.Forms.IPlatformElementConfiguration`2<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.VisualElement>)
我怎么解决这个问题?
bin
和obj
文件夹如果您无法更新Xamarin.Forms,请使用旧版程序包:https://www.nuget.org/packages/Xamarin.FFImageLoading.Forms/2.2.25-pre-619-legac