NoClassDefFoundError:com.google.firebase.perf.internal.RemoteConfigManager

编程入门 行业动态 更新时间:2024-10-25 17:15:02
本文介绍了NoClassDefFoundError:com.google.firebase.perf.internal.RemoteConfigManager的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我开始在Fabric上崩溃了以下内容:

I started to get the following crashed on Fabric:

Fatal Exception: java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:309) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.util.concurrent.FutureTask.setException(FutureTask.java:223) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by java.lang.NoClassDefFoundError: com.google.firebase.perf.internal.RemoteConfigManager at com.google.firebase.perf.internal.FeatureControl.<init>(Unknown Source:2) at com.google.firebase.perf.internal.FeatureControl.zzar(Unknown Source:10) at com.google.firebase.perf.internal.GaugeManager.<init>(Unknown Source:4) at com.google.firebase.perf.internal.GaugeManager.zzbf(Unknown Source:22) at com.google.android.gms.internal.firebase-perf.zzat.<init>(Unknown Source:2) at com.google.android.gms.internal.firebase-perf.zzat.zza(Unknown Source:1) at com.google.firebase.perfwork.FirebasePerfUrlConnection.instrument(Unknown Source:9) at io.branch.referralwork.BranchRemoteInterfaceUrlConnection.doRestfulPost(BranchRemoteInterfaceUrlConnection.java:127) at io.branch.referralwork.BranchRemoteInterfaceUrlConnection.doRestfulPost(BranchRemoteInterfaceUrlConnection.java:45) at io.branch.referralwork.BranchRemoteInterface.make_restful_post(BranchRemoteInterface.java:136) at io.branch.referral.Branch$BranchPostTask.doInBackground(Branch.java:2860) at io.branch.referral.Branch$BranchPostTask.doInBackground(Branch.java:2835) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

具有以下配置:

在root build.gradle上

on the root build.gradle

classpath 'com.google.gms:google-services:4.1.0' classpath 'com.google.firebase:firebase-plugins:1.1.5'

并在应用程序build.gradle

and in the app build.gradle

apply plugin: 'com.google.firebase.firebase-perf' ... api 'com.android.support:multidex:1.0.3' implementation "com.google.firebase:firebase-core:16.0.6" implementation "com.google.firebase:firebase-inappmessaging-display:17.0.4" implementation "com.google.firebase:firebase-perf:16.2.2" implementation "com.google.android.gms:play-services-gcm:16.0.0" implementation "com.google.android.gms:play-services-analytics:16.0.6" ... apply plugin: 'com.google.gms.google-services'

有人知道有效的配置或解决方法吗? 崩溃率很高.

Does someone know a working configuration, or a way to fix it? The crash rate for this is high.

推荐答案

看起来这是Google已知的问题,他们正在努力解决:

Looks like this is an known issue by Google and they are working on fix it:

请查看此链接以获取更多详细信息: groups.google/forum/#!topic/firebase-talk/7Ccu-Zh8pdg

Please check this link for more detail: groups.google/forum/#!topic/firebase-talk/7Ccu-Zh8pdg

我的解决方法是在适合我的配置下降级库版本:

My workaround was to downgrade library versions, below the configuration that work for me:

'com.android.support:multidex:1.0.3' "com.google.firebase:firebase-core:15.0.2" "com.google.firebase:firebase-perf:15.0.0" "com.google.android.gms:play-services-gcm:15.0.1"

我希望有帮助!

更多推荐

NoClassDefFoundError:com.google.firebase.perf.internal.RemoteConfigManager

本文发布于:2023-05-25 10:52:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/226589.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:firebase   google   NoClassDefFoundError   RemoteConfigManager   internal

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!