Tried running default flutter app to test installation on flutter 3.29.1 main branch, with java 21 and gradle 8.12, but it fails building
flutter run outputs
PS C:\Users\Nicolas Kist Steffen\Documents\Nicolas\Programas\Flutter\test> flutter run
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
e: file:///C:/tools/flutter/packages/flutter_tools/gradle/src/main/kotlin/dependency_version_checker.gradle.kts:156:41 Unresolved reference: Version
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gradle:compileKotlin'.
> A failure occurred while executing .jetbrains.kotlinpilerRunner.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 .
BUILD FAILED in 12s
build.gradle, settings.gradle and gradle-wrapper.properties are the same since flutter create.
Tried running default flutter app to test installation on flutter 3.29.1 main branch, with java 21 and gradle 8.12, but it fails building
flutter run outputs
PS C:\Users\Nicolas Kist Steffen\Documents\Nicolas\Programas\Flutter\test> flutter run
Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
e: file:///C:/tools/flutter/packages/flutter_tools/gradle/src/main/kotlin/dependency_version_checker.gradle.kts:156:41 Unresolved reference: Version
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gradle:compileKotlin'.
> A failure occurred while executing .jetbrains.kotlinpilerRunner.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..
BUILD FAILED in 12s
build.gradle, settings.gradle and gradle-wrapper.properties are the same since flutter create.
Share Improve this question asked Mar 11 at 19:55 Nicolas DesenvolvedorNicolas Desenvolvedor 13 bronze badges1 Answer
Reset to default 0fixed it by removing flutter completely and reinstalling through vscode
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744773901a4592929.html
评论列表(0条)