Xamarin Forms Java.Lang.NoSuchMethodError

Viewed 1187

I am making a Xamarin.Forms app that uses Firebase messaging. I'm following the documentations but when I am adding the Nuget packages and deploy my app to my Android device I get the following error:

Java.Lang.NoSuchMethodError: 'No static method checkBuilderRequirement(Ljava/lang/Object;Ljava/lang/Class;)V in class Ldagger/internal/Preconditions; or its super classes (declaration of 'dagger.internal.Preconditions' appears in /data/app/com.technologygate.golden-1/base.apk)'

Anyone has an idea? Thanks in advance.

1 Answers

I installed the latest Xamarin.Google.Dagger NuGet package into my Xamarin.Android instance and that seems to have fixed it for me. Hope that works for you.

Related