Issue
Running with kotlin version '1.4.32' my Android project runs and builds. Trying to upgrade to kotlin '1.5.0' and my build throws:
Execution failed for task ':app:kaptDefaultsDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
> java.lang.reflect.InvocationTargetException (no error message)
I am not even sure where to start looking. Anyone else have problems upgrading to kotlin 1.5.0?
Solution
This is due to Dagger's use of older version of kotlinx-metadata-jvm
.
See https://youtrack.jetbrains.com/issue/KT-45885
Update your dagger to 2.34
Answered By - Etherbit
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.