我正在开始使用Flutter教程,但是在运行get软件包时,它会提示我以下错误
> C:\Users\pacif\Desktop\flutter\bin\flutter.bat --no-color packages upgrade
> Running "flutter packages upgrade" in flutter_app...
> Error on line 26, column 8 of pubspec.yaml: Invalid version constraint: > Could not parse version "flutter". Unknown text at "flutter".
> sdk: flutter
> ^^^^^^^
酒吧升级失败(65) 流程结束,退出代码为65
答案 0 :(得分:0)
C:\ Users \ pacif \ Desktop \ flutter \ bin \ flutter.bat-无色软件包升级
正在flutter_app中运行“ flutter软件包升级” ...
第26行,pubspec.yaml的第8列错误:版本约束无效:>无法解析版本“ flutter”。 “ flutter”处的文字未知。 sdk:flutter
删除多余的空间