Hi, anyone know why kotlin project is missing in a...
# getting-started
h
Hi, anyone know why kotlin project is missing in android studio templetes? I’ve installed all the plugins, and even created a project before. But when I try to create a new project, it’s not there
l
The language is chosen in the next window
h
Hi, thanks for answering! But there was 2 more options in this window, like it is shown on tutorial
l
Android Studio is for creating Android apps. Those are the project templates to create an Android applications. If you want a basic Android app written in Kotlin, you can choose for example "No Activity", click next, select Kotlin as language if applicable, and finish
If you want a Kotlin app unrelated to Android. You can use IntelliJ IDEA
h
Android Studio should also support it as it is shown in this tutorial https://kotlinlang.org/docs/multiplatform-mobile-create-first-app.html#create-the-project-from-a-template . Actually I created my first kmm project from it. But this time it’s somehow missing
l
Ah ok sorry. I didn't realize you wanted a KMM project. You just specified Kotlin in the initial question. Make sure you have the KMM plugin installed with the latest version in Preferences -> Plugins -> Installed. Restart Android Studio to make sure it is loaded properly
l
What platform are you on? The KMM plugin disables itself if not on mac.
If you just want to create a project on non-mac, you can enable the plugin manually, but it will disable itself again if you restart AS.
h
Thank you all! I figured it out. The KMM plugin somehow is disabled.
I’m using mac, but KMM still disables itself, doesn’t know this before.