Plugin incompatible with the new build found: Kotlin - android

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 :)

Related

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.

Android studio 2.3: Could not initialize class org.jetbrains.kotlin.android.actions.NewKotlinActivityAction

I have just updated Android studio 2.2.2 to 2.3 from the canary channel. After downloading completed and applying path file, the android studio is restarting.
But after restarting android studio I am getting below error with dialog:
Cannot load project:
com.intellij.ide.plugins.PluginManager$StartupAbortedException:
com.intellij.diagnostic.PluginException: Could not initialize class
org.jetbrains.kotlin.android.actions.NewKotlinActivityAction [Plugin:
org.jetbrains.kotlin]
See below screenshot for to get more idea:
After closing dialog by ok and restarting android studio, also I can't able to open my project or creating new project.
Does anyone is facing same issue after updating android studio?
Disable the Kotlin plugin and restart Android Studio. I had the same error even after I updated the plugin. So disabling seems to be the solution for now -- unless you're using Kotlin, I guess.
The Kotlin team confirmed a fix is in the works via twitter: https://twitter.com/kotlin/status/797111726516879360
The issue is fixed in Kotlin plugin version 1.0.5-2.
Issue is fixed in new update of Kotlin, you can update your plugin from
Configuration>Plugin>Install JetBrains Plugin>Select "Kotlin" from List and hit "Update" from right menu
Updating the 'ext.kotlin_version' on root build.gradle to the latest fixed the issue for me. Use this link to find the latest kotlin version.
This happened to me just today after updating my Kotlin's plug-in verison from 1.1.51 to 1.1.60. I had to uninstall this version from Settings > Pluings in Android Studio and install the previous one, which can be downloaded from JetBrains plug-ins repository.
If you're using Android Studio 3.0, you don't need to install the previous version of the plug-in again since version 1.1.51 is built-in in Android Studio.

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.

Lost Kotlin support in Intellij Idea 14.1

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

Categories

Resources