Task :app:kaptDebugKotlin FAILED

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

java.lang.reflect.InvocationTargetException (no error message)

Can you give us a bit more context? What are you trying to do exactly? Is this a new project or did you upgrade kotlin/gradle/idea? What lead to the error message? Also can you post the complete stacktrace?
Is this a custom annotation processor or one you got through maven?
How do you build your code (gradle, maven, intelliJ)?

1 Like