I'm having some trouble with the new Xamarin.Forms, with
version 3.5.0.129542.
The app starts normally in UWP, but in Android when I try to
open any page that contains a sfListView control, the TypeLoadException gets
thrown with the following description:
Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular
registration. See the inner exception for details. Registration:
Activator = ServiceItemsView (ReflectionActivator), Services = [ServiceItems (System.Object)],
Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None,
Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking
the constructor 'Void .ctor()' on type 'ServiceItemsView'. ---> VTable setup
of type Syncfusion.ListView.XForms.SfListView failed (See inner exception for
details.) (See inner exception for details.) --->
Autofac.Core.DependencyResolutionException: An exception was thrown while
invoking the constructor 'Void .ctor()' on type 'ServiceItemsView'. --->
VTable setup of type
Syncfusion.ListView.XForms.SfListView failed (See inner
exception for details.) ---> System.TypeLoadException: VTable setup of type
Syncfusion.ListView.XForms.SfListView failed
at
XamApp.Views.ServiceItemsView..ctor
How can I solve this problem?
Thank you.