* Windows 기준 입니다.
Flutter 콘솔 열기
1. Stable Channel로 다운로드: 링크
2. C:\flutter에 풀기
3. C:\flutter 안에 있는 flutter_console.bat 실행
4. 내 PC → 환경변수:PATH에 'C:\flutter\bin' 추가
사용자 통계용 정보전송 중단
빅브라더(?) 구글 답게 Flutter에 콘솔을 사용하는 동안 익명으로 사용자 정보를 수집하는 모양. 이거부터 끄자.
1. C:\flutter 안에 있는 flutter_console.bat 실행
2. 아래 명령어 치기
flutter config --no-analytics
의존성 검사
1. C:\flutter 안에 있는 flutter_console.bat 실행
2. Flutter 구동에 필요한 의존성 리스트와 기기의 설치현황을 보여줌
입력:
flutter doctor
결과:
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17763.503], locale ko-KR)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[!] Android Studio (version 3.4)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.35.0)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
Android SDK 설치
1. Android SDK 설치: 링크
2. 구글 USB 드라이버 설치(Windows만 설치): 링크
3. 안드로이드 라이센스 동의 - y랑 엔터만 계속 누르면 됨
flutter doctor --android-licenses
(선택) VisualStudio Code 사용 시
1. Flutter 플러그인 설치: 링크
그 다음은 실제 개발한 앱을 테스트하기 위한 기기 환경을 준비한다.
① 안드로이드 VM을 이용하거나
② USB 디버깅 모드(개발자 모드)가 활성화된 공기기와 개발PC와 연결하기 위한 USB 마이크로핀 케이블을 준비
끝!
태그 : flutter


덧글