Flutter Start

安裝

以Windows為例

  1. 下載Flutter SDK
  • 要記得解壓縮後或clone下來的PATH
    1. 直接下載
    2. git clone https://github.com/flutter/flutter.git -b stable
  1. 更新系統路徑
    1.
    2. 環境變數 3. 編輯Path這一項 4. 加入

    記得是要按照你第一步放Flutter的PATH 來更新這裡的使用者變數

  2. 到此 可以開啟 Windows Terminal, Powershell or cmd Run flutter doctor 如果需要更詳細的除錯資訊 flutter doctor -v

    可以見到一些訊息

    [-] Android toolchain - develop for Android devices
        • Android SDK at D:\Android\sdk
        ✗ Android SDK is missing command line tools; download from https://goo.gl/XxQghQ
        • Try re-installing or updating your Android SDK,
        visit https://flutter.dev/setup/#android-setup for detailed instructions.
    

Note: Flutter relies on a full installation of Android Studio to supply its Android platform dependencies. However, you can write your Flutter apps in a number of editors; a later step discusses that.

  1. 安裝Android Studio

設定IDE

有問題可以在下方utterances 留言喔

updatedupdated2024-08-192024-08-19
載入評論