我正在设置我的Flutter环境(电鳗版),我正在尝试决定是否需要安装Visual Studio只用于移动的开发,因为我知道Visual Studio需要大量的存储空间,但Flutter医生说Windows开发是必须的。
那么,不安装Visual Studio for Flutter开发可以吗?这会影响我的Flutter环境吗?
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22621.1105], locale en-
US)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[X] Visual Studio - develop for Windows.
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.1)
[√] Connected device (2 available)
[√] HTTP Host Availability
! Doctor found issues in 2 categories.
3条答案
按热度按时间fslejnso1#
不,它不是移动的开发所必需的。它不会影响你的Flutter环境。
mlnl4t2r2#
如果你正在开发移动的应用程序,你不需要visual studio,如果你不安装visual studio,开发也没有问题。
nnvyjq4y3#
它实际上是说,如果你想为
Windows
开发你的Flutter
应用程序,你必须安装Visual Studio
。它不会影响你的Flutter环境。