Hey Guys, Im new to KMP, Can someone please advic...
# multiplatform
a
Hey Guys, Im new to KMP, Can someone please advice the solution, Im having trouble in consuming the dependencies in commonMain module. But i can to do that in androidMain. What could be the reason for this
Copy code
commonMain.dependencies {
    implementation(files("libs/shared-debug.aar"))
}
Thanks in advance
t
AAR extension stands for Android Archive. It is for android only.
👆 1
gratitude thank you 1
d
AAR can't be consumed in
commonMain
- only
androidMain
- If I had the source code, I'd convert it to kotlin - make a module out of it and consume it into my
commonMain