question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xamarin Forms Android: Could not load list of method overrides for CachedImageRenderer.Init()

See original GitHub issue

I’m trying to use this for Android and am getting a build error in the MainActivity.cs for:

CachedImageRenderer.Init();

Error simply says: “Could not load list of method overrides”

There’s a Stack Overflow post here that someone else posted the same issue: https://stackoverflow.com/questions/47211668/ffimageloading-unhandled-exception-system-typeloadexception-could-not-load-li

Has anyone seen this issue and could offer a solution? My linker settings are turned off, so it should be including the dlls properly. This is for FFImageLoading v2.2.25.

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
daniel-luberdacommented, Nov 15, 2017

If using Xamarin.Forms < 2.4 you want to use v2.2.25-legacy prerelease package version. I stripped fast renderer out of it. screen shot 2017-11-15 at 19 00 51

2reactions
1Cor125commented, Nov 14, 2017

Good call. Thanks!

Sent from my iPhone

On Nov 14, 2017, at 5:06 PM, Giusepe Casagrande notifications@github.com wrote:

@daniel-luberda So, a colleague of mine @winterdouglas figure out what is causing the problem: We are using Forms 2.3.x Once we updated to 2.4.x the problem goes away.

Maybe would be good to raise the dependency on this packages to 2.4+

Sorry for the trouble and noise here 😃

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

xamarin - FFImageLoading: Unhandled Exception: System. ...
I tried FFImageLoading version 2.2.24 with xamarin forms 2.0.4.280 ... TypeLoadException: Could not load list of method overrides occurred).
Read more >
How to enable FFImageLoading transformation in Xamarin. ...
You can use the CachedImage of the FFImageLoading in the SfListView and make a transformation on the image at run time in Xamarin.Forms...
Read more >
Why am I getting this error in Xamarin.Forms using Visual ...
The work around was to ensure that the directory ~/Library/Android/sdk exists, even if it is empty. Please sign in to rate this answer....
Read more >
Xamarin Media Plugin doesn't works on Android
Hi, I've installed the plugin "Xam.Plugin.Media". The plugin works fine on IOS but on Andorid the app crash as soon it starts.
Read more >
MovieDB App Xamarin Forms Mvvm
This tutorial will be a 2 part tutorial. We will build a movie app based on MVVM architecture, it will consume the moviedb...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found