I’ve installed Kotlin Multiplatform plugin v. 0.8.3(242)-5 in Android Studio Lady Bug.
Than I’ve created Multiplatform project and tried to build it and got following output:
org.jetbrains.kotlin.backend.konan.UnitSuspendFunctionObjCExport PluginClassLoader(plugin=PluginDescriptor(name=Kotlin Multiplatform, id=com.jetbrains.kmm, descriptorPath=plugin.xml, path=~/Library/Application Support/Google/AndroidStudio2024.2/plugins/kmm.jar, version=0.8.3(242)-5, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, moduleName=kotlin.features-trainer, descriptorPath=kotlin.features-trainer.xml, path=/Applications/Android Studio.app/Contents/plugins/Kotlin, version=242.23726.103.2422.12816248-AS, package=org.jetbrains.kotlin.training, isBundled=true), PluginDescriptor(name=Kotlin, id=org.jetbrains.kotlin, moduleName=kotlin.project-wizard.maven, descriptorPath=kotlin.project-wizard.maven.xml, path=/Applications/Android Studio.app/Contents/plugins/Kotlin, version=242.23726.103.2422.12816248-AS, package=org.jetbrains.kotlin.tools.projectWizard.maven, isBundled=true)…
Could you please help to fix it?
2
Answers
I used incompatible version of KMP plugin with my Android Studio version. So I installed Android Studio Meerkat and latest KMP plugin. And now it's ok.
Try unistalling / deleting the IDE plugin directory, use version
0.8.4
.https://kotlinlang.org/docs/multiplatform-plugin-releases.html#release-details