I get this warning when I try to run or build an app in Android Studio. Why am I getting this? Do I need to heed this warning?
The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'
I get this warning when I try to run or build an app in Android Studio. Why am I getting this? Do I need to heed this warning?
The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'
Move the id "kotlin-kapt"
to the bottom of plugins{}
in build.gradle
Module-level.
That happens when you compile a multi module project and some module has kapt but no entry point.
The issue is described here but is was already fixed here.
Just wait until next Android studio release or check if you have the latest versions of hilt and dagger
For me adding this to the build file (in the android block) fixed it:
hilt {
enableAggregatingTask = true
}