One day I oppened android studio and this poped out as "plugin error":
Plugin error: File '~AppDataRoamingGoogleAndroidStudio2021.2pluginsKotlinlibkotlin-idea.jar' contains invalid plugin descriptor
How to fix this?
One day I oppened android studio and this poped out as "plugin error":
Plugin error: File '~AppDataRoamingGoogleAndroidStudio2021.2pluginsKotlinlibkotlin-idea.jar' contains invalid plugin descriptor
How to fix this?
4
Answers
I downloaded the newest plugin "Kotlin" from jetbrains site and error disappeared
https://plugins.jetbrains.com/plugin/6954-kotlin/versions/stable
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)
Download the newest version of Kotlin from here
then replace the Kotlin file in this directory with the one you downloaded "C:UsersYOURUSERNAMEAppDataRoamingGoogleAndroidStudio2021.2plugins"
I went to Menu
Tools > Kotlin > Configure Kotlin Plugin Updates
in Android Studio. The dialog shows messageA 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.