无法在Visual Studio上重置Flutter SDK路径 [英] Can not reset flutter sdk path on Visual Studio
问题描述
不幸的是,我在Visual Studio上为flutter sdk设置了错误的路径,现在我试图重置该路径,但是不能,是否可以重置?Visual Studio说:
Unfortunately, I set incorrect path for flutter sdk on Visual Studio and now I am trying to reset the path , but can't , Is it possible to reset ? Visual Studio said :
警告!您当前正在运行的"flutter"工具来自与本程序包最后使用的Flutter存储库不同.当前正在执行"flutter"工具的存储库将改为使用.运行Flutter工具:/home/zayniddin/flutter先前的参考资料:/home/zayniddin/Downloads/flutter_linux_v0.7.3-beta/flutter此可以当您安装了多个flutter副本时,就会发生这种情况.请检查系统路径以确认您正在运行预期的版本(运行"flutter --version"以查看您的是哪个颤动路径).
Warning! The 'flutter' tool you are currently running is from a different Flutter repository than the one last used by this package. The repository from which the 'flutter' tool is currently executing will be used instead. running Flutter tool: /home/zayniddin/flutter previous reference : /home/zayniddin/Downloads/flutter_linux_v0.7.3-beta/flutter This can happen when you have multiple copies of flutter installed. 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).
推荐答案
更改计算机中的路径后,运行 flutter升级
.很奇怪,但为我工作
After changing the Path in your machine,
run flutter upgrade
. Weird but works for me
这篇关于无法在Visual Studio上重置Flutter SDK路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!