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.

With Xamarin 3.6, FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true) Fails on Android

See original GitHub issue

Description

Updated to Xamarin 3.6. When I attempt to deploy/run on an Android device, the app crashes on this line:

With Xamarin 3.6, FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true)

Steps to Reproduce

Update to Xamaring 3.6 and run your app.

Expected Behavior

App will run without crashing.

Actual Behavior

App crashed on: FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true)

With the following exception: Unhandled Exception:

System.TypeLoadException: Could not load list of method overrides due to Method not found: void Xamarin.Forms.Platform.Android.IVisualElementRenderer.add_LayoutChange(System.EventHandler`1<Android.Views.View/LayoutChangeEventArgs>) occurred

Basic Information

  • Version with issue: 2.4.4.859
  • Last known good version: ?
  • Platform: Android

Screenshots

Reproduction Link / Code

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
scharadacommented, Mar 12, 2019

any idea when this can fixed pls ? it is a blocking issue unless we use a deprecated version (with old dependencies …) thanks you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

After installing FFImageLoading images don't show at all
Under Android, in OnCreate method of MainActivity.cs , I added FFImageLoading.Forms.Platform.CachedImageRenderer.Init(enableFastRenderer:true); ...
Read more >
Getting Started with Mobile App Messaging in apps developed ...
To get started configuring basic mobile app messaging in Android apps and iOS apps that are are developed in the Xamarin framework, implement...
Read more >
Optimizing & Handling Images with FFImageLoading
Is a plugin that provides the ability to load images and to help reduce the resource consumption and optimizing the resources sizes. Add...
Read more >
Gif file is not Loading the Xamarin forms
Hi Techie, Gif is not loading in the xamarin forms. Any idea Techie? ... FFImageLoading.Forms.Platform.CachedImageRenderer.Init(true);.
Read more >
Best 20 NuGet loading Packages
FFImageLoading Plugin for Xamarin Forms. Xamarin Library to load images quickly and easily on Xamarin.Forms. Ensure you call CachedImageRenderer.Init() on each ...
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