DEV Community

Pulkit
Pulkit

Posted on

How to upgrade Kotlin plugin in Android Studio

Problem: I am on Android Studio Bumblebee, and every time, I get an error saying that "Outdated Bundled Kotlin Compiler" error, and whenever I go to Tools > Kotlin > Configure Kotlin Plugin Update, I see the "Update" button, but when I do that, I get an error: "plugin kotlin was not installed: request failed with 404"

Solution: We need to install the plugin manually:

  • Go to this webpage: https://plugins.jetbrains.com/plugin/6954-kotlin

  • Click on GET button, and select Android studio from dropdown

  • Next you gotta figure out your android studio version, and expected plugin version to download. I found which plugin to download by going to Android Studio > Preferences > Plugins > search for kotlin and note down the plugin version there.

I just downloaded the plugin version mentioned in above step and to install that, in Android Studio > Preferences > Plugins, there is a settings button, which shows a dropdown to install plugin from disk, choose that, choose the plugin file and restart android studio
Dropdown where the install plugin from disk option is

Top comments (0)