Trying to add Kermit to my KMM app but get Unresolved reference: Logger #221
-
Thanks for the great lib I'm trying to add this lib into my KMM app. Following the readme, I added this 2 lines into my
After Gradle sync, Logger is still not resolvable. Any other step I have to do? This is what Android Studio tell me to do (sorry for nope question, I'm an iOS Dev exploring KMM) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's some kind of config issue. It's difficult to say without looking at the rest of your config. If this is something public I can take a look. If not, hmm. It's more difficult to figure out in the abstract. Can you post gradle configs? So, the full gradle file for the shared module. Also some other questions:
You may be able to try running the build from the command line. Sometimes the IDE can't resolve something but the build works. Generally speaking, though, gradle config issues need more info as its tough to debug without that context. |
Beta Was this translation helpful? Give feedback.
It's some kind of config issue. It's difficult to say without looking at the rest of your config. If this is something public I can take a look. If not, hmm. It's more difficult to figure out in the abstract.
Can you post gradle configs? So, the full gradle file for the shared module. Also some other questions:
You may be able to try running the build from the command line. Sometimes the IDE can't resolve something but the build works.
Generally speaking, though, gradle config issues need more info as its tough to debug without that context.