1. flutter 사이트 방문
Flutter - Build apps for any screen
Flutter transforms the entire app development process. Build, test, and deploy beautiful mobile, web, desktop, and embedded apps from a single codebase.
flutter.dev
2. 오른쪽 상단 Get started 클릭
3. Windows 클릭
4. flutter SDK 다운로드
글쓰는 시점은 3.0.5 임
5. 압축풀고, C:\ 로 옮겨놓는다.
6. flutter의 bin 디렉토리를 path 환경변수에 넣는다.
C:\flutter\bin
7. git 설치
sdk 를 구성하는 파일을 관리하는 도구로 사용됨
https://git-scm.com/download/win
Git - Downloading Package
Download for Windows Click here to download the latest (2.37.2) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 14 days ago, on 2022-08-12. Other Git for Windows downloads Standalone Installer 32-bit Git for Win
git-scm.com
8. flutter 설치 확인
C:\Users\User>flutter --version
Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f1875d570e (6 weeks ago) • 2022-07-13 11:24:16 -0700
Engine • revision e85ea0e79c
Tools • Dart 2.17.6 • DevTools 2.12.2
9. flutter doctor 실행
flutter SDK 를 사용해서 android 앱을 개발하려면, 라이센스에 동의를 해야 하는데, 이걸 점검하는 명령어이다.
[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
Android toolchain 부분을 확인해야 한다.
10. 라이센스 동의하기
flutter doctor --android-licenses
y/N 을 묻는 문장들이 계속 나오는데, y 해주면 됨..
6 of 7 SDK package licenses not accepted. 100% Computing updates...
Review licenses that have not been accepted (y/N)?
이후 9번의 flutter doctor 를 다시 실행해 본다.
댓글