728x90
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
완료!
728x90
'개발 > Flutter' 카테고리의 다른 글
Get X로 route 중첩해서 들어가기 nested route (0) | 2023.03.15 |
---|---|
pokeDex App (0) | 2023.03.08 |
GetX 사용 시 Obx 동작하지 않을 때 확인할 사항! (0) | 2023.02.21 |
Android Studio Code 정리 (0) | 2023.02.21 |
Map 에서 flutter dotdotdot 사용하기 (0) | 2023.01.24 |