https://kotlinlang.org logo
#koin
Title
# koin
p

Pedro Francisco de Sousa Neto

02/28/2024, 2:38 PM
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

Jacob Ras

02/28/2024, 2:39 PM
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

Pedro Francisco de Sousa Neto

02/28/2024, 2:53 PM
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

Jacob Ras

02/28/2024, 2:55 PM
That's a wild route, but I'm glad to hear it works! 😅