Reputation: 103
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?
Upvotes: 9
Views: 5113
Reputation: 439
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.
Upvotes: 14
Reputation: 80
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"
Upvotes: 4
Reputation: 11
I just deleted the file in that path. It seems everything worked normally afterward. (You may need to tick the "show hidden files, folder, or drives" from File Explorer Options if you can't find it directly)
Upvotes: 1
Reputation: 1
I downloaded the newest plugin "Kotlin" from jetbrains site and error disappeared https://plugins.jetbrains.com/plugin/6954-kotlin/versions/stable
Upvotes: 0