좌충우돌 플러터 설치기
잘 정리된 설치글이 안보여 정리해서 적어본다.
환경: Windows 8.1 64bit
1. JDK-15 설치 (이제는 Path설정은 필요 없다)
2. 윈도우 업데이트 설치 - 이거 설치 안하면 에뮬레이터 설치시 계속 에러남
Windows8.1-KB2919355-x64
Windows8.1-KB2999226-x64
3. BIOS에서 CPU 가상화를 활성화 (VT-X)
4. Android Studio 설치
5. Android Studio ===> File - Setting - plunin 에서 flutter 검색하여 설치
6. flutter 설치 (압축해제)
7. Path에 경로 추가 C:\Program Files\flutter\bin 추가
8. cmd 관리자로 실행하여 flutter doctor 실행
에러: Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
해결: flutter doctor --android-licenses
에러: X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality.
해결: 위에서 flutter 플러그인 설치했으면 안남
에러: No devices available
해결: Android Studio 가상환경 띄우면 해결