A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution

See original GitHub issue
> Task :app:mergeDebugJniLibFolders UP-TO-DATE
> Task :app:mergeDebugNativeLibs UP-TO-DATE
> Task :app:stripDebugDebugSymbols NO-SOURCE
> Task :app:validateSigningDebug UP-TO-DATE
> Task :app:kaptDebugKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)

* 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 1s

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
Calc86commented, Aug 24, 2021

fix for macos

app/build.gradle

add

import org.gradle.internal.os.OperatingSystem

dependencies {
    // Room DB
    if (OperatingSystem.current().isMacOsX()) {
        kapt "org.xerial:sqlite-jdbc:3.34.0"
    }
....
}

0reactions
sanketkumbharecommented, Mar 9, 2022

I am using android studio bumblebee and having the same issue but in Ubuntu

Execution failed for task ‘:app:kaptDevKotlin’.

A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction java.lang.reflect.InvocationTargetException (no error message)

Read more comments on GitHub >

github_iconTop Results From Across the Web

A failure occurred while executing org.jetbrains.kotlin.gradle ...
In Android studio go to Analyze menu and click on Inspect Code; check whole project, click OK and wait for the inspection to...
Read more >
A failure occurred while executing org.jetbrains ... - YouTrack
A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution > java.lang.reflect.InvocationTargetException (no error message) ...
Read more >
Kotlin 1.7.0 - A failure occurred while executing org.jetbrains ...
Execution failed for task ':presentation:kaptDebugKotlin'. A failure occurred while executing org.jetbrains.kotlin.gradle.internal.
Read more >
A failure occurred while executing org.jetbrains.kotlin.gradle ...
In my Android Kotlin project, I keep having the following error: A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
Read more >
A failure occurred while executing org.jetbrains.kotlin.gradle ...
Android : A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution [ Beautify Your Computer ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found