gpt4 book ai didi

firebase - CLI 安装不工作(缺少 google_app_id)

转载 作者:行者123 更新时间:2023-12-05 05:51:32 25 4
gpt4 key购买 nike

我尝试使用 CLI 安装 FlutterFire,但是当我尝试在我的应用程序中使用 logEvent() 时,出现以下错误:

Missing google_app_id. Firebase Analytics disabled.

我几乎可以肯定已完全按照 https://firebase.flutter.dev/docs/cli 上的配置教程进行操作

谁能告诉我哪里出了问题?

谢谢。

最佳答案

如果您尝试在 Android 上使用 Analytics,您可能需要手动安装 Firebase。如 configuration tutorial 中所述:

Some plugins or platforms do not fully support Dart-only Firebase initialization yet, if you need to use the plugins then the manual installation steps should be followed first.

Analytics、Crashlytics 和 Performance Monitoring 目前不支持 Dart-only 初始化。仅 Dart 初始化支持和不支持平台的完整列表是 here .

关于firebase - CLI 安装不工作(缺少 google_app_id),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70367050/

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