I just updated my project to Android Q (android 10) and when I try to deploy to a device I get the following error. I'm using XF forms latest.
I do NOT directly use SfButtons nuget package which is where SfSegmented control lives. We do not use SfSegmentedControl either.
However, we use SfDataform which is the only package that has SfButtons as a dependency.
This is a severely blocking issue as we cannot update to support Android Q which is already released.
These are my references:
PackageReference Include="Syncfusion.Xamarin.Core" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfBusyIndicator" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfDataForm" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfListView" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfPopupLayout" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfProgressBar" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfRangeSlider" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfRating" Version="17.2.0.51"
PackageReference Include="Syncfusion.Xamarin.SfPullToRefresh" Version="17.2.0.51"
Error
Severity Code Description Project File Line Suppression State Error MSB4018: The "LinkAssemblies" task failed unexpectedly. Mono.Linker.MarkException: Error processing method: 'System.Void Syncfusion.Android.Buttons.SfSegmentedControl/d__141::MoveNext()' in assembly: 'Syncfusion.Buttons.XForms.Android.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Android.Views.Animations.Animation::add_AnimationEnd(System.EventHandler`1) at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference) at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference) at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction) at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body) at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method) at Mono.Linker.Steps.MarkStep.ProcessQueue() --- End of inner exception stack trace --- at Mono.Linker.Steps.MarkStep.ProcessQueue() at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue() at Mono.Linker.Steps.MarkStep.Process() at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context) at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step) at Mono.Linker.Pipeline.Process(LinkContext context) at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context) at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res) at Xamarin.Android.Tasks.LinkAssemblies.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() 0