我根据文档https://firebase.google.com/docs/perf-mon/get-started-android
启用了Firebase性能监控我在app / build.gradle中包含了编译'com.google.firebase:firebase-perf:10.2.6'。我正在使用谷歌播放库11.0.0
然而,当我启动我的应用程序时,我得到以下异常。
java.lang.NoSuchMethodError: No static method zzb(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzac; or its super classes (declaration of 'com.google.android.gms.common.internal.zzac' appears in /data/app/com.lonelyplanet.guides-1/base.apk:classes70.dex)
at com.google.firebase.perf.provider.FirebasePerfProvider.zza(Unknown Source)
at com.google.firebase.perf.provider.FirebasePerfProvider.attachInfo(Unknown Source)
at android.app.ActivityThread.installProvider(ActivityThread.java:5811)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:5403)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5342)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)