
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
예제 파일의 main.dart에서 Run 했는 데 에러가 발생했어요.

작성한 코드 및 에러 메세지
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
ERROR: JAVA_HOME is set to an invalid directory: C:/Program Files/Java/jdk-17
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Error: Gradle task assembleDebug failed with exit code 1
Exited (1).
