f-miyu / Plugin.FirebaseAuth

MIT License
61 stars 26 forks source link

Error when archiving android project #33

Open Egehanozsoy opened 3 years ago

Egehanozsoy commented 3 years ago

Severity Code Description Project File Line Suppression State Error Mono.Linker.MarkException: Error processing method: 'System.Void Plugin.FirebaseAuth.UserWrapper/d__28::MoveNext()' in assembly: 'Plugin.FirebaseAuth.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve Firebase.FirebaseApp Firebase.Auth.FirebaseUser::Zzc() 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() FitterrProject.Android

nnovalbos commented 3 years ago

Hi, @Egehanozsoy

I have the same error. something new?

Thanks

Egehanozsoy commented 3 years ago

Hey @nnovalbos , go to your android options and then make sure linking is set to none. After that go to the top and enable Multi-Dexing that fixed it for me.

nnovalbos commented 3 years ago

@Egehanozsoy thanks for answering

Do you think it is correct not to use the linker? I will use it temporarily but will try to find some other alternative. If I find something, I'll let you know

Egehanozsoy commented 3 years ago

@nnovalbos Thanks, appreciate it

AswinPG commented 3 years ago

Hi @Egehanozsoy @nnovalbos Have you found a solution ? I am also having this issue

nnovalbos commented 3 years ago

Hi @AswinPG ,

when i updated the VS for mac to version 8.10.2 build 17, the error disappeared ....

AswinPG commented 3 years ago

Hi @AswinPG ,

when i updated the VS for mac to version 8.10.2 build 17, the error disappeared ....

I am having this issue on VS 2019 on windows

AswinPG commented 3 years ago

https://github.com/f-miyu/Plugin.FirebaseAuth/pull/34 this fixed the issue for me