Featured image of post Flutter安裝、環境

Flutter安裝、環境

安裝 Flutter

1. Flutter download

2. 設置環境變數

3. command 執行

1
2
3
4
5
6
C:\>where flutter dart
  C:\dev\src\flutter\bin\flutter
  C:\dev\src\flutter\bin\flutter.bat
  C:\dev\src\flutter\bin\dart
  C:\dev\src\flutter\bin\dart.bat
  C:\dev\src\dart-sdk\bin\dart.exe

如果你使用 PowerShell, 執行

1
where.exe flutter dart

4. command 執行

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
C:>flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [] Flutter (Channel stable, 3.13.3, on Microsoft Windows [version 10.0.22621.2134])
    [] Windows Version (Installed version of Windows is version 10 or higher)
    [] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    [] Chrome - develop for the web
    [] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.3)
    [] Android Studio (version 2022.3)
    [] VS Code (version 1.82.1)
    [] Connected device (3 available)
    [] Network resources

 No issues found!

如果您沒有安裝 Visual Studio,請前往 Visual Studio 下載並安裝桌面開發與 C++。

如果您尚未安裝 Android SDK,請前往 Android Studio 下載並安裝 Android Studio Giraffe。

如果您已經安裝了 Android SDK 但仍然遇到錯誤,請前往 Android SDK SDK 工具,並選中下載 Android SDK 命令行工具的選項。

使用 Hugo 建立
主題 StackJimmy 設計