Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Plugin error: kotlin-idea.jar contains invalid plugin descriptor

One day I oppened android studio and this poped out as "plugin error":

Plugin error: File '~\AppData\Roaming\Google\AndroidStudio2021.2\plugins\Kotlin\lib\kotlin-idea.jar' contains invalid plugin descriptor

How to fix this?

like image 625
willko22 Avatar asked Mar 24 '26 07:03

willko22


2 Answers

I went to Menu Tools > Kotlin > Configure Kotlin Plugin Updates in Android Studio. The dialog shows message A new Version 212-1.7.10-release-333-AS5457.46 is availible and an Update Button below the message. After Update and Restart the error was gone.

like image 176
Cor Avatar answered Mar 27 '26 13:03

Cor


Download the newest version of Kotlin from here

then replace the Kotlin file in this directory with the one you downloaded "C:\Users\YOURUSERNAME\AppData\Roaming\Google\AndroidStudio2021.2\plugins"

like image 36
Nesyou Avatar answered Mar 27 '26 14:03

Nesyou



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!