FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':fluttertoast:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 17s
Error: Gradle task assembleDebug failed with exit code 1
< /code>
Это старый проект, пытался разобраться в AGP, Kotlin и Gradle. Я не знаю, что я что -нибудь зафиксировал.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.
У меня есть эта ошибка на моей консоли при попытке запустить; < /p> [code]FAILURE: Build failed with an exception.
* What went wrong: Execution failed for task ':fluttertoast:compileDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details
* Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org.
BUILD FAILED in 1m 17s Error: Gradle task assembleDebug failed with exit code 1 < /code> Это старый проект, пытался разобраться в AGP, Kotlin и Gradle. Я не знаю, что я что -нибудь зафиксировал.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. [/code] Но мой врач с трепелтом выглядит нормально.