美文网首页
解决flutter doctor 无法识别到idea版本的问题

解决flutter doctor 无法识别到idea版本的问题

作者: 梁典典 | 来源:发表于2022-02-17 11:11 被阅读0次

The problem seems to be partially fixed with archive:3.1.8.
All there is left to do is to use that version to make the error go away, thus, you can manually use the latest version by going to "FLUTTER_HOME/packages/flutter_tools/pubspec.yaml" and change (line 10) to "archive 3.1.8"
Then just execute "flutter update-packages --force-upgrade" as instructed in that pubspec.yaml

cheers,

找到flutter安装目录 packages/flutter_tools/pubspec.yaml大约在第10行
修改

archive: 3.1.8  // 修改为这个版本

再执行

flutter update-packages --force-upgrade

问题解决


image.png

相关文章

网友评论

      本文标题:解决flutter doctor 无法识别到idea版本的问题

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