I have a `@Module` created and it getting only one...
# koin
p
I have a
@Module
created and it getting only one of N dependencies created. The
@ComponentScan
is right. How can I debug, or check it? My pain here is a walkthrough to validate.
j
So the generated
module
does not contain all dependencies? Some things to check: • are the annotation imports correct? • is the
@ComponentScan
package correctly configured (if needed) • what's the visibility of the missing dependencies; are they in the same module?
p
I've tried cleaning the project, invalidating the cache, and restarting AS, and still not working. So I moved the module to other package-level. Compiled and run the app. It works! Now I've moved to previous/original package. Repeated the process and it works! mind blown
j
That's a wild route, but I'm glad to hear it works! 😅