Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java.Lang.NoSuchMethodError: 'No static method checkBuilderRequirement

After updating to Xamarin.Forms 4.8 i get this error when application starts:

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.codex.MojLek-
ELK-GTa_ywWpF5Na88sJeQ==/base.apk)'

How to fix this problem?

like image 431
Rajzer Avatar asked Oct 19 '20 13:10

Rajzer


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.

like image 55
Rajzer Avatar answered Nov 02 '22 10:11

Rajzer