How to solve "A problem occurred evaluating project ':app'. > Could not find method kapt() for arguments" error in Android
If you have encountered an error "A problem occurred evaluating project ':app'. > Could not find method kapt() for arguments" when you have tried to include room in Android Studio, then this quick solution should help you to fix it up.
In the build.gradle file find plugins section and add “id 'kotlin-kapt'” to it:
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt'
}
Comments