[英]Unable to run flutter command on MS VS code
I have created a flutter project on VS, and could not run any command through VS code's terminal, I have reinstalled the VS code and still give me this error:我在 VS 上创建了一个 flutter 项目,并且无法通过 VS 代码的终端运行任何命令,我重新安装了 VS 代码,仍然给我这个错误:
I have installed it again and don't know why it stays it is not installed!我重新安装了它,不知道为什么它仍然没有安装!
Any idea how to solve it?知道如何解决吗?
Thank you谢谢
From your image;从你的形象; you are using Visual Studio Code , not Visual Studio .
您使用的是Visual Studio Code ,而不是Visual Studio 。
Flutter 2.10 arrives with stable support for building Windows app, for more . Flutter 2.10 的到来提供了对构建 Windows 应用程序的稳定支持,以获取更多信息。
Therefore, while running flutter doctor
you are able to see this error.因此,在运行
flutter doctor
时,您可以看到此错误。 If you've plan to build Windows app, you need to install Visual Studio with Desktop development with C++
.如果您计划构建 Windows 应用程序,则需要使用 C++ 安装Visual Studio和
Desktop development with C++
。 You need to download and install Visual studio if you wish to remove this error.如果您希望消除此错误,您需要下载并安装Visual Studio 。
You can read more about build for window here .您可以在此处阅读有关 window 构建的更多信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.