简体   繁体   English

URI 的目标不存在:'firebase_options.dart'。 尝试创建由 URI 引用的文件,或尝试对确实存在的文件使用 URI

[英]Target of URI doesn't exist: 'firebase_options.dart'. Try creating the file referenced by the URI, or Try using a URI for a file that does exist

please how can i solve this problem Target of URI doesn't exist: 'firebase_options.dart'.请问我该如何解决这个问题 URI 的目标不存在:'firebase_options.dart'。 Try creating the file referenced by the URI, or Try using a URI for a file that does exist尝试创建由 URI 引用的文件,或尝试对确实存在的文件使用 URI

  • I try this flutter clean我试试这个 flutter clean
  • flutter pub get flutter 酒吧得到
  • restart重新开始

Usually, the firebase_options.dart file is generated through flutterfire configure command.通常, firebase_options.dart文件是通过flutterfire configure命令生成的。

Double check that you generate the file properly with the Flutterfire CLI and that you import it with the right path in your main.dart (or the file that require it)仔细检查您是否使用 Flutterfire CLI 正确生成了文件,并在您的main.dart (或需要它的文件)中使用正确的路径导入它

run flutter pub add firebase_core this is probably because you haven't installed firecore in your project yet运行flutter pub add firebase_core这可能是因为你还没有在你的项目中安装 firecore

暂无
暂无

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

相关问题 如何解决 flutter 中的“Target of URI doesn't exist package:flutter_facebook_login/flutter_facebook_login.dart”? - how to solve "Target of URI doesn't exist package:flutter_facebook_login/flutter_facebook_login.dart" in flutter? 在我的情况下,flutterfire configure --project=whatsappclone-64bbf 不会生成 lib/firebase_options.dart 文件 - flutterfire configure --project=whatsappclone-64bbf doesn't generate a lib/firebase_options.dart file in my case firebase 的存储,URI 文件中未指定主机 - Storage for firebase, No host specified in URI file 无效的操作配置图像 URI 容器名为:<image_uri> 与提供的任务定义文件中缺少的任何容器都不匹配</image_uri> - Invalid action configuration Image URI container named: <IMAGE_URI> does not match any of the missing containers in the task definition file provided 在 flask 应用程序上 - URI 以问号开头并且不起作用 - On flask application - the URI start with a question mark and it doesn't work Android Studio - Uri上传到Firebase - Android Studio - Uri Upload to Firebase Firebase SDK Admin Symfony - 无效的服务帐户:文件不存在 - Firebase SDK Admin Symfony - Invalid service account : The file at does not exist “输入参数‘redirect_uri’的提供值无效”使用 firebase - "The provided value for the input parameter 'redirect_uri' is not valid" Using firebase Firebase 部署错误“找不到页面此文件不存在...” - Firebase deploy error "page not found This file does not exist ..." 将文件上传到 firebase 存储,存储异常对象在该位置不存在 - upload file to firebase storage, Storage exception Object does not exist at location
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM