你好,我是得到颤振火焰基础网页错误。
我正确地初始化了web,但是当我尝试使用Firestore函数时,我得到了这个错误。
我不知道这个错误..。
以前有人犯过这个错误吗?
阅读用的唐牙。
FirebaseError: Firebase: firebase.firestore() takes either no argument or a Firebase App instance.
(app/invalid-app-argument).
at Object.e [as firestore] (https://www.gstatic.com/firebasejs/8.10.1/fire
在打开应用程序时,颤振的防火墙软件包崩溃,这是日志文件,
E/MethodChannel#plugins.flutter.io/cloud_firestore(28101): Failed to handlemethod call
E/MethodChannel#plugins.flutter.io/cloud_firestore(28101):
java.lang.NullPointerException: Firestore component is not present.
E/MethodChannel#plugins.flutter.io/cloud_firestore(28101
当我使用DocumentSnapshot时,我正在开发一个flutter app.My flutter项目在工厂构造函数中显示错误 User.dart import 'package:cloud_firestore/cloud_firestore.dart';
class User {
final String id;
final String username;
final String email;
final String photoUrl;
final String displayname;
final String bio;
User
我对firebase和flutter有意见。我正在建立的应用程序登录并显示从收集的费用列表,其名称是用户id。当用户登录时,他将看到包含其集合中的项目的列表。我使用的是Stream方法。问题是,在用户登录之前,stream接收到null id,应用程序崩溃。有没有办法在用户登录后设置这个流?我将非常感谢您的帮助! 这就是错误 The following assertion was thrown building Home(dirty):
'package:cloud_firestore/src/firestore.dart': Failed assertion: line 7
我正在尝试使用Flutter和Firestore构建一个应用程序。当使用StreamBuilder从Firestore加载集合以在ListView中显示它时,我得到以下错误 The following assertion was thrown building StreamBuilder(dirty, state:
I/flutter (26287): _StreamBuilderBaseState>#d5638):
I/flutter (26287): type '_InternalLinkedHashMap' is not a subtype of type
在我的颤振应用程序中,我正在使用Firebase Firestore。在debug模式下,一切都很好。但是,在release模式下,我会得到以下错误。我看到了一个类似的问题,但它不能解决我的问题。
[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: [cloud_firestore/unavailable]
The service is currently unavailable. This is a most likely a transient condition and may be corrected b
我是一个初学者在颤振和创建一个实时聊天应用程序。
错误发生在stream: usersStream,行,它表示"The argument type 'Stream<dynamic>' can't be assigned to the parameter type 'Stream<QuerySnapshot<Object?>>?'."
Widget searchUsersList() {
return StreamBuilder<QuerySnapshot>(
stream
试图牛市应用,但它不断崩溃!当我单击该错误时,它将我引向两个文件video.dart和video.dart
它在特定的行上指向我,但是当我点击它们时,没有具体的错误解释我得到的错误。我试图在网上寻找解决方案,但我不明白这个错误告诉我的是什么!如果你知道解决方案,请告诉我!
错误:
/flutter ( 5006): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: type 'Null' is not a subtype of type 'String'
E/flutter ( 5
我有一个名为Database.dart的文件,在这里我插入了“虚拟”数据,并设置了到Firebase的连接。使用Meals.dart,我希望稍后在屏幕上显示数据。现在,我想在我的调试控制台中显示这个虚拟数据。我试图更改Meals.dart中的“Meals.dart”,但我没有搞清楚代码中的问题是什么。
,这是我得到的错误代码.
════════ Exception caught by widgets library ═══════════════════════════════════
The following NoSuchMethodError was thrown building Me
我正在尝试用Flutter做一个后台位置跟踪应用程序。因此,我创建了一个用于运行后台服务的隔离。如果我将本地文件系统中的位置数据从isolate存储到本地文件系统中,它工作得很好。但是当我连接Firebase从isolate发送数据时,它给出了以下错误: E/flutter (10142): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method DocumentReference#setData on
我有一个颤动应用程序,这是工作完全正常时,安装在调试模式通过Android Studio和崩溃后登录时,在发布模式。我从Play控制台获取了崩溃报告: java.lang.RuntimeException:
at com.google.firebase.firestore.util.AsyncQueue.a (AsyncQueue.java:379)
at com.google.firebase.firestore.util.AsyncQueue$$Lambda$5.run (AsyncQueue.java:2)
at android.os.Handler.handleCall
我的应用程序运行得很流畅。当我添加firebase:^7.2.1来支持Flutter Web时。针对Web的构建运行良好,但针对Android的构建总是失败。
我的依赖关系。
flutter_timer: ^0.0.6
http: any
intl: ^0.16.1
firebase: ^7.2.1 ```
---------------------------
These are Console message:
Launching lib/main.dart on SM G920L in debug mode...
Running Gradle task '