flutter 환경설정 이슈 해결방법
1. Android Studio 설치
2. Flutter 설치
flutter doctor -v 실행
문제1)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\luxep\AppData\Local\Android\sdk
X cmdline-tools component is missing
• Android SDK at C:\Users\luxep\AppData\Local\Android\sdk
X cmdline-tools component is missing
해결방법 :
Android Studio > Tools > SDK Manager : SDK Tools 탭
=> 우측아래 Show Package Details 체크 후, Android SDK Command-line Tools (latest) 에서 8.0 선택 후 Apply
참고) https://brain-nim.tistory.com/87
Android Studio > Tools > SDK Manager : SDK Tools 탭
=> 우측아래 Show Package Details 체크 후, Android SDK Command-line Tools (latest) 에서 8.0 선택 후 Apply
참고) https://brain-nim.tistory.com/87
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
해결방법 :
PowerShell 창에서 flutter 명령 파일 위치에서
.\flutter doctor --android-licenses
.\flutter doctor --android-licenses
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
문제2)
[!] Android Studio (version 2023.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
X Unable to find bundled Java version.
해결방법 :
C:\Program Files\Android\Android Studio\jbr 전체 폴더및파일 Copy -> C:\Program Files\Android\Android Studio\jre 에 Past
C:\Program Files\Android\Android Studio\jbr 전체 폴더및파일 Copy -> C:\Program Files\Android\Android Studio\jre 에 Past
참고) https://www.youtube.com/watch?v=9Tux8qPK-mk
• Try updating or re-installing Android Studio.
댓글 없음:
댓글 쓰기