-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution failed for task ':flutter_line_sdk:compileDebugKotlin'. > Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17). #101
Comments
@YkSix Seems to be a version mismatching in Kotlin/Java. Do you have any idea on this? |
Hi @RoshanGupta256 , compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '17'
} To better understand the root cause and background of this issue, could you please provide the following information:
Thanks. |
Hello @YkSix Thank You for response. I have added the required informations below. compileOptions {
buildscript {
} gradle.version=8.5 |
@RoshanGupta256 , https://github.com/YkSix/flutter_line_sdk_mysample Additionally, could you let me know which Java version you are using? Thanks.
|
As #103 merged and the new 2.3.8 release, I guess we can close this issue. Please feel free to reopen it if there is still issues on building with the compatible versions. |
I have added the package in my projects pubspec.yaml file and I am getting this error. I have tried flutter clean. and changed the kotlin version to the latest version too. Are there any other configuration required to use this package or am I making any mistakes?
The text was updated successfully, but these errors were encountered: