Error:Execution failed for task ':app:kaptDebugKotlin'
Run your application with ./gradlew clean build
command to see what's exactly wrong with your code. Just paste it into the Terminal in Android Studio.
If you are using the Room database and getting a KAPT error, just check your
- Database declarations
- Data Access Object declarations
- Data class fields
It's a problem arising due to improper usage of annotations of Room. For more information use your build logs.