I'm not able to create a new project in the android studio. I am getting a warning message
java.lang.RuntimeException: Could not find a JavaToKotlinConversionProvider, even though one should be bundled with Studio at com.android.tools.idea.npw.model.JavaToKotlinHandler.getJavaToKotlinConversionProvider(JavaToKotlinHandler.java:56) at com.android.tools.idea.npw.template.TemplateValueInjector.addKotlinVersion(TemplateValueInjector.java:410)
Go to Preferences -> Plugins -> Kotlin
and update the Kotlin plugin to the last version even though you don't write your code in Kotlin.
I have the same error, I've juste disabled the kotlin plugin and after restarting the IDE, just re-enable it. After that final restart, every thing works fine.
Go to file and the plugin in android studio and update your Kotlin plugin...
I opened an old project (by old I mean another project) and did everything Android Studio said to give me a successful build (I faced some errors when I tried to build the project that I could build couple weeks ago and actually I fixed them, updating gradle and stuff like that, not code issues of course).
After that I could create new project same as before.
Update seems like in order to keep Android Studio happy we have to keep Kotlin plugin enabled, interesting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With