简体   繁体   English

使用 Flutter 图标将 Firebase 添加到您的 Flutter 应用程序

[英]Adding Firebase to your Flutter app with Flutter Icon

enter image description here在此处输入图像描述

I want to connect my Flutter app with Firebase with new Flutter Icon in Firebase. But after doing the steps, and especially this step:我想将我的 Flutter 应用程序与 Firebase 连接起来,并在 Firebase 中使用新的 Flutter 图标。但是在完成这些步骤之后,尤其是这一步:

Then, at the root of your Flutter project directory, run this command:然后,在您的 Flutter 项目目录的根目录下,运行以下命令:

在此处输入图像描述

I got this error in my cmd我在 cmd 中收到此错误

i Found 0 Firebase projects.我找到了 0 Firebase 个项目。 Selecting project chatapp1-5a9b5.选择项目 chatapp1-5a9b5。 FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command. FirebaseCommandException:尝试运行命令时 Firebase CLI 发生错误。

在此处输入图像描述

If I read the error message in the screenshot correctly it says that the Firebase CLI needs to be installed, so did you install that?如果我正确阅读了屏幕截图中的错误消息,它表示需要安装 Firebase CLI,那么你安装了吗? If not yet, have a look at the documentation on installing the Firebase CLI .如果还没有,请查看有关安装 Firebase CLI的文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM