Execution failed for task ':app:kaptDebugKotlin'

I had such kind of problem

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

It depends on:

implementation ‘androidx.room:room-runtime:2.1.0-alpha04’
kapt ‘androidx.room:room-compiler:2.1.0-alpha04’

I chsnged that on:

implementation ‘androidx.room:room-runtime:2.2.5’
kapt ‘androidx.room:room-compiler:2.2.5’

End my problem was solved