https://kotlinlang.org logo
#compose
Title
# compose
a

allan.conda

06/15/2020, 5:47 PM
Am I the only one frequently getting this error? I just re-run and it disappears, but it’s annoying as I have to build twice.
Copy code
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)
l

Leland Richardson [G]

06/15/2020, 6:05 PM
looks related to an annotation processor
s

sindrenm

06/15/2020, 6:31 PM
I'm getting this error in projects without Compose as well. My team has suggested I try and switch up my JDK, but I haven't gotten around to trying that yet. Also not sure if it helps, but worth a shot.
g

gildor

06/16/2020, 2:19 AM
Try to enable stacktraces in you root build.gradle, it will provide you more information on fail:
Copy code
gradle.startParameter.showStacktrace=ALWAYS
👍 2