hi, I just upgraded Android Studio from Bumblebee to Chipmunk and now the KMM plugin is disabled and if I re-enable it then restart, I hit this:
Copy code
plugin 'com.jetbrains.kmm' failed to initialize and will be disabled. Please restart Android Studio.
java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.kotlin.konan.MetaVersion$Companion.getDEV-CSrMgVE()'
at com.jetbrains.mpp.workspace.WorkspaceBaseKt.<clinit>(WorkspaceBase.kt:31)
at com.jetbrains.mpp.workspace.WorkspaceBase.setKonanVersion(WorkspaceBase.kt:82)
at com.jetbrains.mpp.workspace.WorkspaceBase.setKonanHome(WorkspaceBase.kt:43)
...
any ideas?
Travis Reitter
06/20/2022, 8:57 PM
this is on macOS Monterey / Apple Silicon, for what it's worth
Travis Reitter
06/20/2022, 9:05 PM
it seems that I might need to upgrade the plugin (previous attempts may have failed; it wasn't clear) but there doesn't seem to be an option
Travis Reitter
06/20/2022, 9:09 PM
looks like uninstalling then re-installing the plugin fixed it
d
Dave Trollope
08/07/2022, 7:41 PM
thanks - I encountered this also, though, the first time I uninstalled and reinstalled, it didn't appear to resolve the issue. I closed the project, did the plugin update without a project loaded, then opened the project. FWIW