[Flutter] 설치 및 기본 세팅
앱 개발을 위해 Flutter를 설치하려고 한다.
1. 다운로드
아래 사이트에 들어가서 최신 버전으로 다운로드 한다.
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
2. 다운로드 하여 편한 위치에 압축풀어두기
나는 그냥 C 드라이브 아래에 압축 풀었다.
3. 환경변수 path 설정
윈도우 검색창에 "환경 변수" 검색하면 뜨는 시스템 환경 변수 편집을 클릭한다.
환경변수 PATH에
C:\flutter\bin
경로를 추가한다.
4.제대로 환경변수 잡혔는지 확인하려면 cmd 창을 열어서 flutter를 입력
아래 같이 뭐가 뜨면 잘 잡힌것임
5.flutter 초기 세팅 명령어 수행필요
flutter doctor --android-licenses
만약 이과정에서 위와 같은 완료가 아니라
Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools are installed to resolve this.
이오류가 난다면 아래 글 참고
[Flutter] 세팅 오류 해결 Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdline-tools
flutter 세팅 하는건 위 게시글 참조 위 과정대로 진행중 5번에서 초기 세팅중 오류가 났다. 대충 나는 오류 내용은 아래 와 같다. Android sdkmanager not found. Update to the latest Android SDK and ensure that the cmdl
pkguma.tistory.com
6. 설치가 끝나면 Android Studio 에서 플러그인을 설치