flutter config --enable-windows-desktop #to enable Windows
flutter run -d Windows #需 Visual Studio toolchain
需window10 Visual Studio
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.2.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 versions, install the latest one
Windows 10 SDK (10.0.17763.0)
网友评论