安裝過程
https://jonny-huang.github.io/flutter/flutter_001/
Set up Flutter with VSCODE in Windows | flutter in 2022 - Bing video
解決以下問題:
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-19\bin
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
刪除 控制台中 環境設定變數中的JAVA_HOME設定,再重跑一次。
flutter doctor --android-licenses
解決以下問題:
[!] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.5)
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
https://www.youtube.com/watch?v=uBj580evGlY
沒有留言:
張貼留言