Really Thanks!!!! i aproximately spend time 8 hours ...but didnt fix this error...i watch many videos ...i didn't solve it...but i watch your video onetime ...this error easy to solve it...again thanks
It's interesting because your version of Studio has a Gradle Version and Gradle Plugin Version whereas mine does not. So I had no shortcut. I have needed to create a new project and take all my files across to the new project. It seems to be a design fault with Studio and a reason why a new version of Studio would come out -- so that settings for switching the Gradle Version etc. could be included. Thank you for this content and for trying to assist 😊... Also, I tried your latter solution which would've been perfect, but the same error message appears. It seems to mean that despite the setting-adjustments, that there is an underlying reliance on the 1.8 that keeps coming up.
Thank you my life saviour!! However, I find it is quite weird that by default my build gradle setting has set both to java version 1.8 but it still throws errors. When changing them to version 17 then it resolved.
> 'compileDebugJavaWithJavac' task (current target is 1.8) and 'kaptGenerateStubsDebugKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. always show error
Execution failed for task ':app:kaptDebugKotlin'. Please can give the solution for this error. I've been searching everywhere, couldn't find the solution.
Hello....Can anyone help? I am getting the following error but I don't know what to do. I'm not a programmer and if someone answers please write me the exact steps * What went wrong: Execution failed for task ':app:compileDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction > Compilation error. See log for more details
Really Thanks!!!! i aproximately spend time 8 hours ...but didnt fix this error...i watch many videos ...i didn't solve it...but i watch your video onetime ...this error easy to solve it...again thanks
It's interesting because your version of Studio has a Gradle Version and Gradle Plugin Version whereas mine does not. So I had no shortcut. I have needed to create a new project and take all my files across to the new project. It seems to be a design fault with Studio and a reason why a new version of Studio would come out -- so that settings for switching the Gradle Version etc. could be included. Thank you for this content and for trying to assist 😊... Also, I tried your latter solution which would've been perfect, but the same error message appears. It seems to mean that despite the setting-adjustments, that there is an underlying reliance on the 1.8 that keeps coming up.
Thank you very much, it took me 6 hours before I finally found this video
what about those dont have options for Android Gradle Plugin version using Jellyfish Android studio
Thank you my life saviour!!
However, I find it is quite weird that by default my build gradle setting has set both to java version 1.8 but it still throws errors.
When changing them to version 17 then it resolved.
thank you very much i spent nearly 10 - 12hrs
Thanks again, you saved me twice in 1 day
thank you mam and God bless you every time and a lot of love from pakistan
have you're probelm solved ?
Runtime issues when interoperability of a static method from a kotlin class says class not found ,can u take this
> 'compileDebugJavaWithJavac' task (current target is 1.8) and 'kaptGenerateStubsDebugKotlin' task (current target is 18) jvm target compatibility should be set to the same Java version. always show error
To fix this error I updated the "kotlin compiler version" of "1.8.10" to "1.9.0". Build.gradle (Top Level)
mine is Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).
found any solution??im struck in same
Thank you Maam very helpfull🙏🙏🙏
does anyone know how to fix this Execution failed for task ':react-native-gradle-plugin:compileKotlin'.??
Thank you, Thank you, Thank you!!!
Nice Explanation
Execution failed for task ':app:kaptDebugKotlin'. Please can give the solution for this error. I've been searching everywhere, couldn't find the solution.
To fix this error I updated the "kotlin compiler version" of "1.8.10" to "1.9.0". Build.gradle (Top Level)
':test:compilekotlin' . 'compilejava' task (current target is 1.7) and 'compilekotlin' task (current target is 17) pls help 😢
Change either compileOptions or kotlinOptions to same java version.
Life saving video.
Madam thank you soooooooo much madam.
Thankyou , did the JOB
Thank you this was helpful
thank you sooooo much
not working
thank you
Thank You!!!!!!!!!!
its work.
Hello....Can anyone help?
I am getting the following error but I don't know what to do. I'm not a programmer and if someone answers please write me the exact steps
* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
getting same error, you got solution?
Thank you this was helpful
thank u