FirebaseRemoteConfig.getInstance 因 NullPointerException 而崩溃

FirebaseRemoteConfig.getInstance crashes with NullPointerException

我在 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'

有人看到了吗?任何解决方案或解决方法?

P.S。我已经通过 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 更新未修复