Firebase模块无法初始化:remote_config(缺少依赖项) [英] Firebase modules failed to initialize: remote_config (missing dependency)

查看:598
本文介绍了Firebase模块无法初始化:remote_config(缺少依赖项)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我遇到了一些此类崩溃:

Lately I've been getting quite some of these crashes:

java.lang.Exception: InitializationException :   Firebase modules failed to initialize: remote_config (missing dependency)
       at Firebase.FirebaseApp.CreateAndTrack(Firebase.FirebaseApp)
       at Firebase.FirebaseApp.Create(Firebase.FirebaseApp)
       at Firebase.FirebaseApp.get_DefaultInstance(Firebase.FirebaseApp)
       at Firebase.Analytics.FirebaseAnalytics..cctor(Firebase.Analytics.FirebaseAnalytics.)
       at Titan.Managers.GameManager.Awake(Titan.Managers.GameManager)

在唤醒时,我只称呼它为:Firebase.Analytics.FirebaseAnalytics.SetUserId(udid);

On Awake I'm only calling this: Firebase.Analytics.FirebaseAnalytics.SetUserId(udid);

有人知道这可能是什么问题吗?我们也无法重现此问题.

Does anyone know what might be the problem here? We were also unable to reproduce this issue.

推荐答案

这可能是由于您正在测试模拟器而未安装google api(谷歌播放服务)而引起的,请检查是否选择了带有google api的图像或 您有旧的Google Play服务(低于9.0.0)

it can be cause because you are testing an emulator doen't have google api (google play services) installed, check that you choose an image with google api or you have an old Google play services (below 9.0.0)

这篇关于Firebase模块无法初始化:remote_config(缺少依赖项)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆