build error because kotlin version?
- Dominant language
- Dart
- Stars
- 7.6k
- Forks
- 2k
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 2
Description
** Don't make a duplicate issue.
You can search in issues to make sure there isn't any already opened issue with your concern.
Searched, not found anything helpful.
**Describe the bug**
FAILURE: Build failed with an exception.
**To Reproduce**
Build example in flutter 3.3.4 on win10
**Screenshots**
FAILURE: Build failed with an exception.
* Where:
Build file 'I:\lab\flutter\fl_chart\example\android\app\build.gradle' line: 25
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not initialize class org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetKt
* 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 5s
Running Gradle task 'assembleDebug'... 6.8s
Gradle task assembleDebug failed with exit code 1
**Versions**
- which version of the Flutter are you using? 3.3.4
- which version of the FlChart are you using? 0.55.2
Contributor guide
Research direction
Reproduce the example build on Windows with Flutter 3.3.4 and fl_chart 0.55.2, then inspect example/android/app/build.gradle at line 25. Use the reported Gradle failure and stacktrace to identify the Kotlin initialization problem; done means the example's Android build completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100