How to fix "Execution failed for task ':app:compileDebugKotlin'" | jvm target compatibility error.

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 38

  • @Guruprakashc
    @Guruprakashc 11 месяцев назад

    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

  • @mmathems395
    @mmathems395 10 месяцев назад

    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.

  • @rizkydipahiyata661
    @rizkydipahiyata661 5 месяцев назад

    Thank you very much, it took me 6 hours before I finally found this video

  • @iswarrand.sivaraj6262
    @iswarrand.sivaraj6262 5 месяцев назад +1

    what about those dont have options for Android Gradle Plugin version using Jellyfish Android studio

  • @ShirakumoYuu
    @ShirakumoYuu Год назад

    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.

  • @puneethas5673
    @puneethas5673 3 месяца назад

    thank you very much i spent nearly 10 - 12hrs

  • @stihl888
    @stihl888 6 месяцев назад

    Thanks again, you saved me twice in 1 day

  • @Hindijanta-bl4ls
    @Hindijanta-bl4ls 7 месяцев назад

    thank you mam and God bless you every time and a lot of love from pakistan

  • @prasuguna
    @prasuguna Год назад

    Runtime issues when interoperability of a static method from a kotlin class says class not found ,can u take this

  • @KaliLinux-t8f
    @KaliLinux-t8f Год назад +1

    > '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

    • @white-5678
      @white-5678 Год назад

      To fix this error I updated the "kotlin compiler version" of "1.8.10" to "1.9.0". Build.gradle (Top Level)

  • @PercyMelody
    @PercyMelody 6 месяцев назад

    mine is Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).

  • @dhruvsharma5786
    @dhruvsharma5786 9 месяцев назад

    Thank you Maam very helpfull🙏🙏🙏

  • @mahmoudlubbad6686
    @mahmoudlubbad6686 Год назад

    does anyone know how to fix this Execution failed for task ':react-native-gradle-plugin:compileKotlin'.??

  • @xacompany
    @xacompany Месяц назад

    Thank you, Thank you, Thank you!!!

  • @gujrathisiddhant1112
    @gujrathisiddhant1112 4 месяца назад

    Nice Explanation

  • @manukm5510
    @manukm5510 Год назад

    Execution failed for task ':app:kaptDebugKotlin'. Please can give the solution for this error. I've been searching everywhere, couldn't find the solution.

    • @white-5678
      @white-5678 Год назад

      To fix this error I updated the "kotlin compiler version" of "1.8.10" to "1.9.0". Build.gradle (Top Level)

  • @VaibhavNayak-b6r
    @VaibhavNayak-b6r Год назад

    ':test:compilekotlin' . 'compilejava' task (current target is 1.7) and 'compilekotlin' task (current target is 17) pls help 😢

    • @irekhatechsolutions
      @irekhatechsolutions  Год назад

      Change either compileOptions or kotlinOptions to same java version.

  • @PSXWallet
    @PSXWallet Год назад

    Life saving video.

  • @majjivaraprasad6034
    @majjivaraprasad6034 Год назад

    Madam thank you soooooooo much madam.

  • @animehub883
    @animehub883 Год назад

    Thankyou , did the JOB

  • @jkr19
    @jkr19 Год назад

    Thank you this was helpful

  • @PSV_Here38
    @PSV_Here38 10 месяцев назад

    thank you sooooo much

  • @glionn
    @glionn Год назад

    not working

  • @shubr2003
    @shubr2003 Год назад

    thank you

  • @lohitmurali2137
    @lohitmurali2137 6 месяцев назад

    Thank You!!!!!!!!!!

  • @freebirdmahasi1974
    @freebirdmahasi1974 Год назад

    its work.

  • @charischaris3165
    @charischaris3165 11 месяцев назад

    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

    • @Aryaman30_
      @Aryaman30_ 10 месяцев назад

      getting same error, you got solution?

  • @mabdo22
    @mabdo22 4 месяца назад

    Thank you this was helpful

  • @yooweee-n5s
    @yooweee-n5s 3 месяца назад

    thank u