flutter - 请我在运行我的颤振模拟器时遇到问题
问题描述
C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:14:8:错误:读取'/C:/时出错mobile/flutter/.pub-cache/hosted/pub.dartlang.org/stream_transform-2.0.0/lib/stream_transform.dart':系统找不到指定的路径。
导入“包:stream_transform/stream_transform.dart”;^
/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:96:27:错误:方法'whereType'是' t 为类“Stream<MapEvent>”定义。
- “流”来自“飞镖:异步”。
- 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src /events/map_event.dart')。尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。返回 _events(mapId).whereType(); ^^^^^^^^^ /C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:101:27:错误:没有为类“Stream<MapEvent>”定义方法“whereType”。
- “流”来自“飞镖:异步”。
- 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src /events/map_event.dart')。尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。返回 _events(mapId).whereType(); ^^^^^^^^^ /C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:106:27:错误:没有为类“Stream<MapEvent>”定义方法“whereType”。
- “流”来自“飞镖:异步”。
- 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src /events/map_event.dart')。尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。返回 _events(mapId).whereType(); ^^^^^^^^^
解决方案
推荐阅读
- python - Django-将用户名字段更改为 BigAutoField?
- php - 无法创建新的 Laravel 项目 - 解压缩 -qq 超时超过 300
- java - 将 Java 10 与 Spring MVC 5 一起使用
- php - 我们如何更改数据库的日期和时间?
- batch-file - 批处理脚本变量访问
- vba - 从 excel VBA 将大量数据集发布到 Web 服务
- python - 如何仅在自动编码器训练期间保存编码器部分的最佳权重?
- angular - 测试 | 无法在 resetFakeAsyncZone 处读取未定义的属性“assertPresent”
- docker - 能够在 docker 中使用全局模式扩展容器吗?
- python - 在heroku应用程序上找不到chromedriver错误