Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Iconize Not Building With Xamarin 4.4 #171

Open
Buzzker opened this issue Jan 13, 2020 · 7 comments
Open

Android Iconize Not Building With Xamarin 4.4 #171

Buzzker opened this issue Jan 13, 2020 · 7 comments

Comments

@Buzzker
Copy link

Buzzker commented Jan 13, 2020

When upgrading from 4.3.0.908675 to 4.4.0.991477 android project build fails. iOS works fine.
Build exception:

XALNK7000: Mono.Linker.MarkException: Error processing method: 'System.Void Plugin.Iconize.IconNavigationRenderer::UpdateMenuItemIcon(Android.Content.Context,Android.Views.IMenuItem,Xamarin.Forms.ToolbarItem)' in assembly: 'Plugin.Iconize.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Xamarin.Forms.Platform.Android.AppCompat.NavigationPageRenderer::UpdateMenuItemIcon(Android.Content.Context,Android.Views.IMenuItem,Xamarin.Forms.ToolbarItem)
at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.RunTask()
at Xamarin.Android.Tasks.AndroidTask.Execute()

@landrzz
Copy link

landrzz commented Jan 13, 2020

I am having the same issue!

@alialdemir
Copy link

+1

@microwales
Copy link

Same here as well

@RedasP
Copy link

RedasP commented Jan 27, 2020

Is there a know workaround?

@microwales
Copy link

Is there a know workaround?

The only work around I know was to downgrade the xamarin forms to 4.3.0.991250

@arielcattaneo
Copy link

In Xamarin.Forms 4.4.0.991640 work!

@microwales
Copy link

microwales commented Feb 13, 2020

In Xamarin.Forms 4.4.0.991640 work!

UPDATE:
It works for me as well. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants