firebase - IntelliJ IDEA 上的 Flutter main.dart 代码停留在“将文件同步到设备......”
问题描述
我的代码使用 Firestore 数据。我正在使用 IOS 模拟器,它在运行代码时显示带有加载圆圈符号的白屏。我尝试了以下方法:
- 添加
WidgetsFlutterBinding.ensureInitialized();
到 main.dart - 将通道从颤振稳定更改为颤振 beta
- 使缓存无效/重新启动
这是控制台当前所说的:
Launching lib/main.dart on testiphone in debug mode...
Running Xcode build...
Xcode build done. 38.1s
Configuring the default Firebase app...
Configured the default Firebase app __FIRAPP_DEFAULT.
Debug service listening on ws://127.0.0.1:55015/FLL78hIxJWU=/ws
Syncing files to device testiphone...
有人可以帮忙找出解决方案吗?在过去的两天里,我一直在尝试自己/通过搜索论坛寻求建议来解决这个问题。
解决方案
推荐阅读
- python - 用字符串理解 NumPy dtype "c"
- javascript - 避免组件在重定向Angular 6上闪烁
- c# - 如何在 PrintDocument C# 上打印特定的 DataGridView 行
- ios - 使用唯一标识符创建 EKEvent(不可编辑)
- configuration - Jasmine 控制台与 protractorjasmine2 html 报告器一起使用时不显示任何颜色
- sql - Spark UserDefinedAggregateFunction 抛出 java.lang.InternalError: Malformed class name
- testing - Behat 正在跳过测试
- sql - 优化 Postgres 表中的存储空间、查询速度、JSON 列数据
- python-3.x - 我怎样才能使我的文件是可点击的功能
- android - Android ImageView setImageResource 在 OS 6.0 中不起作用