腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Flutter
firestore
捕获
错误
、
无论如何,我编写文档的代码如下: try { {'TextStyle(color: Colors.white, fontSize: 20), ), return; a
浏览 8
提问于2020-08-05
得票数 0
1
回答
将
Firestore
模拟器连接到
flutter
_test
、
、
、
我正在为
Flutter
应用程序设置集成测试,但在将它们连接到
Firestore
仿真器实例时遇到了问题。下面是我的代码:import 'package:
flutter
_test/
flutter
_test.dartasync {
firestore
=
Firestore
.instance
浏览 9
提问于2020-06-04
得票数 2
回答已采纳
1
回答
颤动
错误
:找不到符号导入com.google.firebase.
firestore
.LoadBundleTaskProgress;
、
、
、
、
当我尝试在模拟器上运行应用程序时,会发生此
错误
。我在sdk 2.11.0上写了这个应用程序的大部分内容,然后为了适应空安全性,我改到了2.12.0,我不知道这是不是原因。
错误
: E:\
Flutter
\
flutter
\.pub-cache\hosted\pub.dartlang.org\cloud_
firestore
-2.5.3\android\src\main\java\
flutter
\.pub-cache\hosted\pub.dartlang.org\cloud_
firest
浏览 5
提问于2021-10-18
得票数 1
1
回答
创建聊天室应用以“无效文档引用”结束
、
、
、
当我调用此函数时出现
错误
。我正在打印数据,就像您在下面的方法中看到的那样。请查看下面的
错误
部分以查看打印结果。 createChatRoomAndStartConversation() async{ .setData(chatRoomMap) }
错误
消息:firebase-
firestore
@@21.3.0:80)
浏览 10
提问于2021-01-17
得票数 0
回答已采纳
1
回答
颤振
错误
:找不到符号导入com.google.firebase.
firestore
.TransactionOptions
、
、
/Applications/
flutter
/.pub-cache/hosted/pub.dartlang.org/cloud_
firestore
-3.4.3/android/src/main/java/io/
flutter
/plugins/firebase/
firestore
/streamhandler/TransactionStreamHandler.j
浏览 18
提问于2022-08-05
得票数 3
1
回答
在dart中克服运算符分配的最简单方法
、
、
当我使用DocumentSnapshot时,我正在开发一个
flutter
app.My
flutter
项目在工厂构造函数中显示
错误
User.dart import 'package:cloud_
firestore
- 'DocumentSnapshot' is from 'package:cloud_
firestore
/cloud_
firestore
.dart' ('/C:/
flutter<
浏览 18
提问于2020-09-12
得票数 1
1
回答
运行'
flutter
packages get‘命令时出错
、
、
此
错误
发生在运行命令'
flutter
packages get‘时。:执行
flutter
pub get命令后,我收到以下
错误
:Because cloud_
firestore
>=0.11.0 <0.13.3 depends on firebase_core ^0.4.
浏览 1
提问于2021-03-14
得票数 0
2
回答
无法在
flutter
中安装任何firebase软件包
、
、
、
、
在添加cloud_
firestore
:^0.13.7作为依赖项并运行pub get时,我收到以下
错误
: [firebase]
flutter
pub get Running "
flutter
pub getBecause cloud_
firestore
>=0.13.4 depends on cloud_
firestore
_web ^0.1.1 which depends on firebase ^7.0.0, cloud_
firestore
>=
浏览 19
提问于2020-07-11
得票数 0
7
回答
项目计数中的snapshot.data.length不起作用:“调用getter 'length‘on null”
、
、
我试图用以下代码从消防站获取文档: var
firestore
=
Firestore
.instance; return qn.documents; } }
浏览 1
提问于2019-01-24
得票数 5
1
回答
Flutter
错误
:试图在空对象引用上调用虚方法的void com.google.firebase.auth.internal.zzab.zzf(int)‘
、
、
每当我构建我的应用程序时,我的应用程序成功地得到了构建,但在将其安装到设备上的时候,我得到了以下
错误
& app get crash在设备上出现白屏。<init>(com.google.firebase:firebase-
firestore
@@17.1.1:76)E
浏览 0
提问于2018-10-25
得票数 2
1
回答
处理
firestore
权限
错误
并向用户显示警告对话框
、
、
、
我拒绝了一个用户对
firestore
的读写权限,以便
捕获
随之而来的
错误
。我能够
捕获
异常的唯一方法是在这里使用**.catchError((error) => print("Operation Failed : $error"));**,这是我的代码。import 'package:cloud_
firestore
/cloud_
firestore
.dart'; import 'package:
flutter
&
浏览 180
提问于2021-03-26
得票数 0
回答已采纳
1
回答
pubspec.yaml:在添加cloud_
firestore
时解析块映射时需要一个键
、
、
、
当将cloud_
firestore
添加到项目的依赖项并按包时,会弹出此
错误
name: alaganbyasta description: A new
Flut
浏览 3
提问于2018-08-29
得票数 4
回答已采纳
3
回答
我们可以像这样使用'
Firestore
‘吗?
、
、
我在上下载了
flutter
聊天应用程序,并从中学习。最初的开发人员使用
Firestore
,但在我的开发中,我得到了一个
错误
:“未定义的名称'
Firestore
‘。我正在学习用
flutter
编写后端,到目前为止,我做的是UI部件。因此,这是我第一次尝试使用
flutter
学习后端。= null) { .collection('user
浏览 0
提问于2021-02-13
得票数 0
3
回答
Package cloud_
firestore
没有与派生自的>=0.7.0 <0.8.0匹配的版本
、
、
、
、
我正在尝试获取本
flutter
教程所需的cloud_
firestore
包:我还尝试了
flutter
的dev、master和beta通道,但没有成功获得这个包。下面是我的pubspec.yaml文件:descri
浏览 7
提问于2018-06-01
得票数 2
1
回答
flutter
google登录不能使用firebase
、
、
、
以下是登录-的代码:import 'package:firebase_auth/firebase_auth.dart: ^8.10.0I/
flutter
(21435): shrey@gmail.com I/
flutter
(21435): xxxx3340865662223xxxxI
浏览 3
提问于2021-06-12
得票数 0
3
回答
我一直在尝试将数据从
Firestore
检索到
Flutter
的Future builder,但在第一次构建时收到
错误
消息,刷新后获取数据
、
、
、
enter image description here在此处输入镜像描述未来_getName() async{ return await
Firestore
.instance.collection(return null; } ), widgets库═══
捕获
到状态异常生成接收者:尝试的呼叫为空: 导致
错误
的相关file:///D:/
Flutter
/ecoleami
浏览 53
提问于2020-03-22
得票数 0
回答已采纳
1
回答
我如何修复我的颤栗应用程序,而不是用云防火墙构建?
、
、
、
所以我是新手,我想在我的应用程序中添加防火墙功能,但是当我尝试使用火药库时,我发现了一个
错误
。C:\src\
flutter
.pub-cache\hosted\pub.dartlang.org\cloud_
firestore
-3.4.0\android\src\main\java\io\
flutter
;符号:类C:\src\
flutter
.pub-cache\hosted\pub.dartlang.org\cloud
浏览 16
提问于2022-07-21
得票数 4
回答已采纳
1
回答
在颤动中“文档引用必须有偶数段”
、
每当我试图从我的
firestore
.ERROR:
flutter
/lib/ui/ui_dart_state.cc(157)未处理的异常中读取数据时,它都会显示
错误
: PlatformException(hasData = true; } else { hasData = false; }
错误
是:firebase-
firestore
@@21.3.0:80) E
浏览 9
提问于2020-05-23
得票数 0
回答已采纳
1
回答
Firestore
错误
'controller != null':不是真的
、
、
每当我试图查询时,我都会得到这个
错误
。这个
错误
似乎是随机出现的,并不总是如此。:
flutter
bloc: ^6.0.2 path_provider: ^1.6.14E/
flutter
(13433): [ERROR:
flutter
/lib/ui/ui_dart_state.cc(166)] Unhandled Exc
浏览 14
提问于2020-10-25
得票数 1
回答已采纳
1
回答
颤动字段恢复
错误
:MissingPluginException(未找到方法DocumentReference#updateData的实现
、
我正在尝试更新文档,但不断收到此
错误
: ERROR:
flutter
/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method DocumentReference#updateData on channel plugins.
flutter
.io/cloud_
firestore
: FieldValue.arrayUnion(new
浏览 12
提问于2020-06-22
得票数 0
回答已采纳
点击加载更多
相关
资讯
关于 javascript 错误捕获
这可能是Github上最全面的Flutter教程
如何利用BLoC在Flutter和AngularDart中共享代码?
Flutter 异常监控方案与实践
局域网远程管理软件的错误处理与异常捕获(Swift编写)
热门
标签
更多标签
云服务器
ICP备案
云直播
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券