【发布时间】:2019-11-05 13:01:54
【问题描述】:
我已经使用 Flutter for web 几天了,现在我已经到了需要向 API 发出 HTTP 请求以获取一些数据的地步,但是当我在 @ 中包含 http 包时987654322@ 并运行应用程序,它不起作用,但是当我删除包并重新运行应用程序时,它可以正常工作。
这是我在将http 包包含在pubspec.yaml 中后运行应用程序时收到的错误消息:
Resolving dependencies...
Git error. Command: git fetch
fatal: not a git repository (or any of the parent directories): .git
exit code 69
【问题讨论】:
标签: flutter-web