flutter 첫 프로젝트 만들기
1-1. 안드로이드 스튜디오 설치
https://developer.android.com/studio
Download Android Studio & App Tools - Android Developers
Android Studio provides app builders with an integrated development environment (IDE) optimized for Android apps. Download Android Studio today.
developer.android.com
1-2. flutter 다운로드
https://docs.flutter.dev/get-started/install
Install
Install Flutter and get started. Downloads available for Windows, macOS, Linux, and ChromeOS operating systems.
docs.flutter.dev
1-3 해당 패키지 압축 풀기 (경로는 마음대로)
1-4. flutter\bin (1-3) 해당 환경변수 경로 추가하기
2. flutter doctor 로 이상 없는지 체크 (CMD)
2-1. cmdline - tools 설치 (toolchain 오류 시)
2-2. 라이센스 업데이트 (cmd : flutter doctor --android-licenses)
2-3 오류 항목 전부 진행
3. 플러그인 설치?
4. 프로젝트 생성
막힌 부분들
[1] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.4)
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
-> C++를 사용한 데스트톱 개발 워크로드 설치
[2] flutter 생성 하면서 오류가 발생하고, 프로젝트 생성이 안됨.
Error: Unable to find git in your PATH. 오류
-> 다음항목 환경변수 path 등록
C:\Program Files\Git\bin
C:\Program Files\Git\cmd
C:\Program Files\Git\bin\git.exe
C:\Windows\System32