Iconize icon indicating copy to clipboard operation
Iconize copied to clipboard

Method `Plugin.Iconize.IconImageRenderer:.ctor ()' is inaccessible from method `Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer:.ctor ()'

Open BenDevelopment opened this issue 8 years ago • 5 comments

Looks like there's a problem with the last Iconize version.

Unhandled Exception:

System.MethodAccessException: Method `Plugin.Iconize.IconImageRenderer:.ctor ()' is inaccessible from method `Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer:.ctor ()'

Tested with a new project and Xamarin.Forms => 2.3.5.233.

Anyone else with the same problem ?

~~EDIT: The problem occurred after updating all Xamarin.Android.Support nugets to 25.4.0.2.~~ EDIT 2: The problem occured after upgrading Xamarin.Forms from 2.3.5.256-pre6 to 2.4.0.266-pre1.

BenDevelopment avatar Aug 29 '17 18:08 BenDevelopment

I can confirm this. I tried with and without Forms.SetFlags("FastRenderers_Experimental");, no change.

Leobaillard avatar Aug 31 '17 20:08 Leobaillard

The android app also crash with same problem when using IconLabel, hope it's fixed soon.

maamountki avatar Sep 04 '17 12:09 maamountki

Seams like the Renderer Classes are now internal sealed See: https://github.com/xamarin/Xamarin.Forms/blob/c60367fe34275b32a384d11aa0ef89bc58a40a5f/Xamarin.Forms.Platform.Android/FastRenderers/ImageRenderer.cs#L11

tefinger avatar Sep 14 '17 11:09 tefinger

@jsmarcus can you provide a nuget prerelease supports Xamarin.Forms 2.4.0.275-pre3?

YZahringer avatar Sep 22 '17 18:09 YZahringer

I still have this issue, has there been a fix issued yet?

arnvanhoutte avatar Jul 14 '18 11:07 arnvanhoutte