Closed ahmtbrk closed 6 years ago
This appears to be a question - please use StackOverflow with the dagger-2
tag instead, as that is a better forum for questions.
i had the same problem please tell me the answer
i had the same problem please tell me the answer
check if your all files have specificated the package -> "package com.something.blahblah...."
@kochchy Thank you very much. I realized that one of my file didn't have the package name inside
i had the same problem please tell me the answer
check if your all files have specificated the package -> "package com.something.blahblah...."
You are my hero of the day ))
I ran into this because of a Gradle cache issue. Running ./gradlew --no-build-cache clean assembleDebug
got passed this, and the app successfully built. I did end up having to blow away the remote build cache as well to ensure it stuck.
I am facing this errror in Hilt
I am using dagger2 2.16 version for dependency injection inside mine android project. I examine a lot of examples, and although I do not have a similar approach I get the error of "circular dependency".
If I remove the ActivityBuilderModule from the AppComponent, the project is compiled without problems. But if you add to the modules section, the project gives the error below.
Mine source code; AppComponent.kt
App.kt
ActivityBuilderModule.kt
AppModule.kt
AppInjector.kt