我正在尝试在 Visual Studio 2019 中创建和运行颤振桌面应用程序,我已经下载了所需的文件(MSBuild 和 MSVC),但仍然出现错误。我有 2013 版并卸载它并安装了 2019 版并且所有内容都已更新
当我运行颤振运行命令时会发生这种情况
Launching lib\main.dart on Windows in debug mode...
Unable to find suitable Visual Studio toolchain. Please run `flutter doctor` for more details.
当我运行颤振时,医生给了我这个错误
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.4.5)
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
development with C++" workload, and include these components:
MSBuild
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
Windows 10 SDK (10.0.17763.0)
任何解决方案!