flattermaps依赖于search_map_place^0.3.0,版本求解失败



我正试图在Flutter中添加谷歌地图,但我遇到了这种错误,你们能帮我解决吗?

Because search_map_place >=0.3.0 depends on http ^0.12.0+4 and fluttermaps depends on http ^0.13.5, search_map_place >=0.3.0 is forbidden.
So, because fluttermaps depends on search_map_place 0.3.0, version solving failed.
pub get failed (1; So, because fluttermaps depends on search_map_place 0.3.0, version solving failed.)

删除pubspec.yaml 中的版本号

就像一样

search_map_place:
http:

并运行酒吧获取

相关内容

  • 没有找到相关文章

最新更新