본문 바로가기
개발/Flutter

flutter 최신 버전 doctor 안될 때

by dev_caleb 2023. 2. 22.
728x90

https://stackoverflow.com/questions/75238629/unsupportedclassversionerror-while-flutter-doctor-android-licenses-macos

 

UnsupportedClassVersionError while 'flutter doctor --android-licenses' MacOS

System Settings: MacOS Ventura Android Studio Electric Eel I am installing Flutter on my Intel Mac. After Running flutter doctor The outcome is this: [✓] Flutter (Channel stable, 3.7.0, on macOS...

stackoverflow.com

 

 

brew install openjdk
export JAVA_HOME="/opt/homebrew/opt/openjdk"
export PATH="$JAVA_HOME/bin:$PATH"
source ~/.zshrc

flutter doctor --android-licenses

 

그렇게 하면 이런 오류가 난다.

 

 

[✓] Flutter (Channel stable, 3.7.3, on macOS 13.2.1 22D68 darwin-x64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[!] Android Studio (version 2022.1)
    ✗ Unable to find bundled Java version.
[✓] IntelliJ IDEA Community Edition (version 2021.2.3)
[✓] VS Code (version 1.75.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

 

그것에 대한 해결법.. 

 

https://velog.io/@jiwon3378/Mac-M1-Flutter-Unable-to-find-bundled-Java-version

 

[Mac M1] Flutter - Unable to find bundled Java version.

자바 버전 오류를 해결

velog.io

 

 

완료!

728x90