安裝
以Windows為例
- 下載Flutter SDK
- 要記得解壓縮後或clone下來的
PATH
- 直接下載
git clone https://github.com/flutter/flutter.git -b stable
- 更新系統路徑
1.
2. 環境變數 3. 編輯Path這一項 4. 加入記得是要按照你第一步放Flutter的
PATH
來更新這裡的使用者變數 - 到此 可以開啟 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.
設定IDE
有問題可以在下方utterances 留言喔