
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
C:\Users\kwater>flutter doctor
Running "flutter pub get" in flutter_tools... 12.0s
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22000.1455], locale ko-KR)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[X] Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.74.3)
[√] Connected device (3 available)
[√] HTTP Host Availability
! Doctor found issues in 2 categories.
C:\Users\kwater>
C:\Users\kwater>flutter doctor --android-licenses
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-18.0.2.1
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
C:\Users\kwater>
