1. 플루터 공식 사이트에서 SDK 다운

2. 환경 변수 설정
시스템속성 > 환경 변수

Path > 편집

새로만들기 > 설치한 flutter 폴더 내 bin의 경로 추가 > 확인

3. cmd창에 flutter --version 명령어 또는 flutter doctor를 치면 설치확인이 가능하다.


만약 아래와 같이 나온다면....
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
= Android toolchain에서 느낌표가 뜬다면 Android 라이선스 동의 누락된 것으로 cmd창에 아래 명령어 실행 후 모두 'y'키를 눌러 동의해줘야함
flutter doctor --android-licenses
4. android studio에서 추가적인 플러그인 설치 및 프로젝트 생성
플러그인 설치 (Dart, Flutter)

프로젝트생성
※Android Studio에서 File > New > New Flutter Project 클릭

Next 클릭

Organizaion : kr.engsoft
Android language : Kotlin
iOS language : Swift
Platform: Android, iOS

프로젝트 생성 완료
'Android' 카테고리의 다른 글
[Android] Public IP 사용 (0) | 2024.08.05 |
---|