[SOLVED] Hello everyone. I am new to Android. I a...
# android
f
[SOLVED] Hello everyone. I am new to Android. I am facing an error 
A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
 when using Room framework(may be library?). I make an application to practice 
Room
 , referring to this official course. I create
Entity
,
DAO
,
Database
,
Repository
,
ViewModel
and
Converter
to persist
Date
in SQLite. almost all things are done. but when I try to debug my application from Android Studio, I got this error
A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
(please look at the attached image). If anyone else can help me, this repository on GitHub can reproduce this issue so please check it. Please tell me how to solve this problem. P.S this is more detail error description.
Copy code
* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)
f
Thank you for your response. now I find more detail error and following is what printed out.
Copy code
* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)
Error stack trace
I sovled this problem by adding
Copy code
kapt "androidx.room:room-compiler:$room_version"
at
build.gradle (Module: app)
.