gpt4 book ai didi

FirebaseRemoteConfig.getInstance 因 NullPointerException 崩溃

转载 作者:行者123 更新时间:2023-12-03 00:16:34 26 4
gpt4 key购买 nike

我在 Crashlitics 中看到大量崩溃,这些崩溃来自最新的 Firebase 15.0.0 尝试获取 FirebaseRemoteConfig

Caused by java.lang.NullPointerException
Attempt to invoke virtual method 'void com.google.android.gms.internal.config.zzar.zzc(long)' on a null object reference
com.google.firebase.remoteconfig.FirebaseRemoteConfig. (Unknown Source)
com.google.firebase.remoteconfig.FirebaseRemoteConfig.getInstance (Unknown Source)
com.google.firebase.remoteconfig.FirebaseRemoteConfig.getInstance (Unknown Source)

FirebaseRemoteConfig.getInstanceApplication.onCreate 期间调用,并且在所有以前的版本上都运行良好。

构建:

implementation "com.google.firebase:firebase-config:15.0.0"
classpath 'com.google.gms:google-services:3.2.1'

有人看到吗?有什么解决方案或解决方法吗?

附注我已通过 https://firebase.google.com/support/contact/bugs-features/ 向 Firebase 团队发送了错误报告 https://github.com/firebase/quickstart-android/issues/474

最佳答案

根据https://github.com/firebase/quickstart-android/issues/474 Firebase RemoteConfig 15.0.2 更新未修复

关于FirebaseRemoteConfig.getInstance 因 NullPointerException 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49989952/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com