skip to Main Content

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


  1. I downloaded the newest plugin "Kotlin" from jetbrains site and error disappeared
    https://plugins.jetbrains.com/plugin/6954-kotlin/versions/stable

    Login or Signup to reply.
  2. 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)

    Login or Signup to reply.
  3. Download the newest version of Kotlin from here

    then replace the Kotlin file in this directory with the one you downloaded "C:UsersYOURUSERNAMEAppDataRoamingGoogleAndroidStudio2021.2plugins"

    Login or Signup to reply.
  4. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search