Ffimageloading: Xamarin.Forms (Android) - System.TypeLoadException

Created on 25 Apr 2019  路  4Comments  路  Source: luberda-molinet/FFImageLoading

Hi peoples:

I am using the version 2.4.4.859 (Xamarin.FFImageLoading.Forms , Xamarin.FFImageLoading.Svg.Forms and Xamarin.FFImageLoading.Transformation) with Xamarin.Forms 3.6.0.344457

I added in MainActivity

FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);

but the app Jump the next problem (only Android)

Could not load list of method overrides due to Method not found: void Xamarin.Forms.Platform.Android.IVisualElementRenderer.add_LayoutChange(System.EventHandler`1)

So, I changed the version to 2.4.5.909-pre. Now the problem is resolved but all images are not visible (iOS and Android, all images are not show).

Are there with the same problem?

more info needed

Most helpful comment

Hi Daniel:

The problem is resolved.

I read the new steps [https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API ] and Problem Resolved

Thx!

All 4 comments

Same exception in Android "Could not load list of method overrides due to Method not found: void Xamarin.Forms.Platform.Android.IVisualElementRenderer.add_LayoutChange(System.EventHandler`1)", I have added the respective line in MainActivity, why is this happening? (iOS is working fine).

  • Please use latest prerelease nuget package
  • Please make sure you have the same package versions in all projects
  • delete bin/obj folders and rebuild

Any news?

Hi Daniel:

The problem is resolved.

I read the new steps [https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API ] and Problem Resolved

Thx!

Was this page helpful?
0 / 5 - 0 ratings