Closed 4mSystems closed 3 years ago
The Hilt Android Gradle plugin is applied but no com.google.dagger:hilt-android dependency was found.
I'm currently working to solve this issue, but until i solve it, you can do a simple workaround to build the project,
plugins {
id(Config.Plugins.androidApplication)
id(Config.Plugins.kotlinAndroid)
id(Config.Plugins.kotlinKapt)
id(Config.Plugins.navigationSafeArgs)
id(Config.Plugins.hilt)
}
inside plugins
section in build.gradle.kts
for app module
, just commit the last line related to hilt plugin
and build the project, after it success un-comment the line again and build the project and it will works will with you
The Hilt Android Gradle plugin is applied but no com.google.dagger:hilt-android dependency was found.
I'm currently working to solve this issue, but until i solve it, you can do a simple workaround to build the project,
plugins { id(Config.Plugins.androidApplication) id(Config.Plugins.kotlinAndroid) id(Config.Plugins.kotlinKapt) id(Config.Plugins.navigationSafeArgs) id(Config.Plugins.hilt) }
inside
plugins
section inbuild.gradle.kts
forapp module
, just commit the last line related tohilt plugin
and build the project, after it success un-comment the line again and build the project and it will works will with you
i comment all related hilt dependency and sync the project ,then uncomment hilt dependency and sync again it worked fine
The Hilt Android Gradle plugin is applied but no com.google.dagger:hilt-android dependency was found.