简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM