Open maravilhosinga opened 6 months ago
I resolved this config:
Change Kotlin to latest version or minimum of 1.8.10
ext.kotlin_version = '1.8.10'
added in android section after: defaultConfig
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
Tha problem is that if you clean the project it will revert all changes. Thew request is to update to lastest versions.
Hi @maravilhosinga can you share your project's build.gradle, settings.gradle & gradle-wrapper.properties file. I did the changes as mentioned but does not solve the problem.
did you later resolve this?
Hi @maravilhosinga did you solve this? I am not able to I trying to use
stream_video_flutter: ^0.5.4 stream_video_push_notification: ^0.5.4
and facing this issue.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':flutter_callkit_incoming:compileDebugKotlin'.
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation