
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
애뮬레이터 구동이 안됙고, 아래와 같은 에러메시지가 뜹니다.
Error: Gradle task assembleDebug failed with exit code 1

작성한 코드 및 에러 메세지
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
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).
