美文网首页
Flutter SDK路径改变后报错

Flutter SDK路径改变后报错

作者: 光辉岁月无声 | 来源:发表于2019-11-14 15:29 被阅读0次

Flutter SDK路径改变后报错

Warning! This package referenced a Flutter repository via the .packages file that is no longer available. The repository from which the 'flutter' tool is currently executing will be used instead.
  running Flutter tool: C:\flutter
  previous reference  : D:\Flutter\flutter
This can happen if you deleted or moved your copy of the Flutter repository, or if it was on a volume that is no longer mounted or has been mounted at a different location. Please check your system path to verify that you are running the expected version
(run 'flutter --version' to see which flutter is on your path).

删掉工程目录下的.packages文件,然后重新get package.

如果还不行,参照下面链接。
http://www.freesion.com/article/96594590/

相关文章

网友评论

      本文标题:Flutter SDK路径改变后报错

      本文链接:https://www.haomeiwen.com/subject/qherictx.html