![](/img/trans.png)
[英]Where is Class Diagram on Visual Studio 2017 community edition
[英]How to tell flutter where Visual Studio 2017 Community edition is installed?
Flutter找不到我的Visual Studio 2017社區版本:
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.7.12-pre.40, on Microsoft Windows [Version 10.0.18922.1000], locale nl-BE)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
[√] Android Studio (version 3.3)
[√] VS Code, 64-bit edition (version 1.35.1)
[√] Connected device (2 available)
! Doctor found issues in 1 category.
我讀到flutter只檢查默認的工作室位置。 因此,找不到我的社區版本也就不足為奇了。 但是,由於此錯誤,flutter拒絕運行:
PS C:\src\flutterapps\flutter-desktop-embedding\example> flutter run
Downloading Web SDK... 1,1s
Launching lib/main.dart on Windows in debug mode...
Unable to find suitable Visual Studio toolchain. Please run `flutter doctor` for more details.
有沒有辦法告訴Flutter Visual Studio的位置? 我希望可以將一些環境變量用於此目的。
任何人?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.