codelab-android-hilt
codelab-android-hilt copied to clipboard
compile time error: The following options were not recognized by any processor: '[kapt.kotlin.generated, room.incremental]'
After doing step 7. "Hilt modules", running the app would crash when building/running the app. Upgrading the Project's Kotlin and Hilt versions seems to have solved this issue for me.
// build.gradle (Project)
buildscript {
ext.kotlin_version = '1.8.21'
ext.hilt_version = '2.46.1'
...
}
Running on Android Studio Flamingo | 2022.2.1 Patch 2