android / codelab-android-hilt

Apache License 2.0
348 stars 184 forks source link

compile time error: The following options were not recognized by any processor: '[kapt.kotlin.generated, room.incremental]' #57

Open Mario-paul opened 1 year ago

Mario-paul commented 1 year ago

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