If you have a project that has a dependency on: Xamarin.AndroidX.RecyclerView
It will cause a Release build failure due to Telerik.XamarinForms.DataControls using the wrong type in the renderer (AndroidX's RecyclerView instead of v7.Widgets's RecyclerView).
Here is the build error clarifying that it cannot find a `HasStableIds` property/method:
Error Mono.Linker.MarkException: Error processing method: 'System.Void Telerik.XamarinForms.DataControlsRenderer.Android.ItemsControlRenderer::OnElementAttached(Telerik.XamarinForms.DataControls.ItemsControl)' in assembly: 'Telerik.XamarinForms.DataControls.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void AndroidX.RecyclerView.Widget.RecyclerView/Adapter::set_HasStableIds(System.Boolean)
You can use the attached project to reproduce the problem. Be sure to have the following settings:
Uninstall Xamarin.AndroidX.RecyclerView