Hello All ,
For Android studio how can i get option to add New module as a Kotlin Multiplatform Library ?
Eg New Module from Project and allow me to add new Kotlin Multiplatform library.
What I am trying to do is.
Create new module/library for Model classes and some of the utility extensions in separate KMM module rather than keeping everythig inside commonApp/Shared/
Thank You K
s
Scott Lanoue
01/23/2025, 7:04 PM
IIRC Android Studio doesn’t have the template for KMP libraries, so your best bet is to either create a normal Kotlin library and update build.gradle.kts to make it a KMP library, or copy a library/repo, or import a new KMP from the wizard as another module and refactor it to be a library