Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

android studio kotline error 1

After closing dialog by ok and restarting android studio, also I can't able to open my project or creating new project.

android studio kotline error 2

Does anyone is facing same issue after updating android studio?

like image 481
pRaNaY Avatar asked Nov 11 '16 18:11

pRaNaY


2 Answers

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

like image 102
Michael De Soto Avatar answered Oct 11 '22 19:10

Michael De Soto


The issue is fixed in Kotlin plugin version 1.0.5-2.

like image 25
yole Avatar answered Oct 11 '22 20:10

yole