android / codelab-android-room-with-a-view

Apache License 2.0
746 stars 490 forks source link

Execution failed for task ':app:kaptDebugKotlin'. #245

Open BlueSaNGG opened 1 year ago

BlueSaNGG commented 1 year ago

I followed all the step till step 12, then got this error with kapt when I try to run the app: https://developer.android.com/codelabs/android-room-with-a-view-kotlin?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-coroutines%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fandroid-room-with-a-view-kotlin#11

Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

Can not figure out what is happening.