Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
MissingMethodException
posted

Hi,

When I build the solution and try to run this on Android device:

             ...xmlns:grids="clr-namespace:Infragistics.XamarinForms.Controls.Grids;assembly=Infragistics.XF.DataGrid"...

        <grids:XamDataGrid x:Name="DataGrid" >
            <grids:XamDataGrid.ItemsSource>
                <local:SampleSalesTeam />
            </grids:XamDataGrid.ItemsSource>
        </grids:XamDataGrid>

I get below error.

Unhandled Exception:

System.MissingMethodException: Method not found: Android.Graphics.TypefaceStyle Infragistics.XamarinForms.Controls.PlatformAPIConverter.ToTypefaceStyle(Xamarin.Forms.FontAttributes)

I believe the android project might be missing the correct reference. I tried manually adding below references, but still no luck:

Infragistics.Xamarin.Android.DataGrid.dll
Infragistics.Xamarin.Android.DataVisualization.dll

Also tried the FX ones, FX.Platform and Core, none of them fix the error.

What references should I add for Android project?

Parents
No Data
Reply Children
No Data