Lost Kotlin support in Intellij Idea 14.1 - android

I had a android project in Kotlin that worked fine in Idea 14. But on update to 14.1, I seem to have lost support for Kotlin in the IDE. There is no option to create a new Kotlin file on right clicking a package, no syntax highlighting, auto complete etc. whatsoever for Kotlin files. The Kotlin plugin is installed and enabled.
Anyone else facing the issue?

What Version of the Kotlin-Plugin is installed?
Because it seems like a known bug:
Latest Kotlin Plugin not compatible with IntelliJ 14.1

Related

Plugin incompatible with the new build found: Kotlin

I was going to upgrade from Android Studio Bumblebee to Android Studio Dolphin. However, I seem to get an unexpected warning from Android Studio:
As you can see the text in red, it shows that newer Android Studio's build does not support Kotlin! However, in details of Android Studio Dolphin, and image shows Kotlin files being programmed, which means Android Studio Dolphin's build actually supports Kotlin:
Should I update or not, and how should I fix this error, as I am a Kotlin Programmer.
Can somebody please help? Would appreciate it.
Edit
As for the Kotlin version, I have the latest Kotlin Version already:
Full answer:
I faced with the same issue and after research I found people say that reinstalling Kotlin plugin or removing it and update Studio should solve the issue, because Dolphin already includes the Kotlin plugin by default.
BUT For sure you should NOT remove the Kotlin plugin, because otherwise Android Studio will fail launching and after that you need to find on your PC the file named 'disabled_plugins.txt' and remove from it Kotlin. OR completely remove Android Studio and reinstall it from the scratch.
Personally I ignored this issue and just updated the Studio. Works well and Kotlin plugin installed. Also I noticed that before update I had Kotlin version 1.7.10 and AS didn't ask for update the plugin. After update I've got 1.7.20.
Good luck :)

How to generate a class diagram in android studio

I installed the simpleUMLCE plugin for code analysis.
But I keep getting this error Plugin "simpleUMLCE" is incompatible (supported only in IntelliJ IDEA)... And simpleUMLCE doesn’t work.
The simpleUMLCE tab does not appear on the left, and it is not installed even if you look at File> Settings> Plugin.
There is no problem using Android Studio, but I hope this error does not come out.
How can I fix it?
The https://plugins.jetbrains.com/plugin/4946-simpleumlce plugin isn't compatible with the recent Intellij IDEA and Android Studio version.
The last version of that plugin is from 2010.
It's nothing you can do about.
Other solution
Intellij IDEA Ultimate supports generating diagrams out of the box.

Various plugins (such as Kotlin) are marked incompatible with Android Studio 3.4 Beta 1

For both the Kotlin and Material Theme plugins I get the message that they are "incompatible with the current android studio version." Kotlin files fail to be read as anything other than plaintext, and I get a notification saying, "Plugin supporting feature (Facet[kotlin-language]) is currently not installed."
What's going wrong here? Is anyone else having this problem?
I had the same issue after just installing the latest version of IntelliJ IDEA. I realized that there are some versions listed on their website that weren't compatible. I went to the home menu IntelliJ IDEA -> Check for Updates... and realized there were new Kotlin updates, even though I thought I had just installed the latest Kotlin version on my prior version of IntelliJ a few minutes before. After installing the Kotlin updates, everything worked again.
https://plugins.jetbrains.com/plugin/6954-kotlin

Android Studio 2.2 cannot find references for all kotlin files

After updating to Android Studio 2.2, I keep getting the error "Unresolved reference" in all kotlin files.
The specific failing gradle task is:
:app:compileStagingDebugKotlinAfterJava (for a variant called StagingDebug)
The only solution I've found so far is to run clean. But I don't want to run this every time in do changes in my code. Any help?
Make sure the kotlin plugin version in Android studio and the kotlin version that you are using(check build.gradle) are the same.
After updating AS please configure your project again like described below: https://kotlinlang.org/docs/tutorials/kotlin-android.html
Always choose Stable channel for Kotlin updates.
I don't think that 1.0.4 version is already in stable channel. Why? The latest version is compatible with the latest version of IntelliJ IDEA, so it may cause problems in the Aandroid Studio which does not follow IDEA versions.
Hope it will help

Not able to create a Module using Android Studio 2.1.1

Anyone have any ideas why this is happening? In Windows, when I right-click on the root of my project, I go to New -> Module. This is what I am shown
It used to be a lot more simpler and actually auto-generate a proper Android Module, complete with directories.
I have the latest version of Android Studio installed. Here is the version I have.
I was expecting to see something along the lines of the following:
Problem cannot be reproduced in the latest Android Studio 2.2.1 Canary that was announced today at Google I/O.

Categories

Resources