We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

System.MissingMethodException


hello sir

plz help

I try to develop an application for Android  with Xamarin and Syncfusion.


 the Application Crach with :

System.MissingMethodException

  Message=Method not found: string Syncfusion.Licensing.FusionLicenseProvider.GetLicenseType(Syncfusion.Licensing.Platform,bool&,bool)









        protected override void OnCreate(Bundle savedInstanceState)

        {

========>            Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense(".....VlCNWFTT.....HFDU3ZjVwOFE9....");


            base.OnCreate(savedInstanceState);


            NotificationCenter.CreateNotificationChannel();

            Xamarin.Essentials.Platform.Init(this, savedInstanceState);

            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);

            Window.AddFlags( Android.Views.WindowManagerFlags.Fullscreen);


            LoadApplication(new App());


        }


1 Reply

VV Vijayakumar Viswanathan Syncfusion Team March 27, 2023 08:10 AM UTC

Hi Hakm,

Thanks for reaching out to Syncfusion support.

For the Xamarin forms application, We have to register the license in the App.Xaml.cs page. Please refer to the below link for registering the License key.

Registration: https://help.syncfusion.com/xamarin/licensing/how-to-register-in-an-application 

Please follow the below steps for resolving the issue.

  1. Clear the Nuget cache of the project.
  2. Use the latest Nuget Version 21.1.35 for all Syncfusion Xamarin Controls.
  3. Register the license key in the App.Xaml.cs page of the Xamarin forms project.
     

Please let us know if you have further any further queries.

 

Regards,

Vijayakumar V


Loader.
Live Chat Icon For mobile
Up arrow icon