Unrecognized Android Studio version

Viewed 21040

Unrecognized Android Studio (or Android Support plugin for IntelliJ IDEA) version '202.7660.26.42.7486908', please retry with version 2020.3.1 or newer.

4 Answers

To solve this issue you can either open your project with android studio version 2020.3.1 or just change Android Gradle Plugin Version in the project stucture settings to the version that your Android Studio supports, I use Android Studio 4.2.2 so I changed the version to 4.2.2 and it works for me.enter image description here

1. Why

It happens if the Intellij Android Support plugin version used has a lower major/minor version than the current Android Gradle plugin

2. How

You have three options.

  1. Add android.injected.studio.version.check=false to gradle.properties to temporary stop AGP version checking

  2. Upgrade Android Studio to the newest version (Maybe the Canary builds) Preview builds can be installed side by side with stable versions.(Sugguest)

  3. Downgrade Android Gradle Plugin Version to fit your Android Studio

Read More

1- change your go-to the build.gradle -> in allprojects -> repositories then change the jcenter() to mavenCentral()

2- open file ->project structure -> project -> change the Android Gradle Plugin Version to 4.2.2 and gradle version to 7.0.2

This is one of the main problems of this error.

  1. This happens because of the Intellij android support plugin has a lower major/minor version than the Current gradle plugin. To fix this error please go through these steps
  • open file ->project structure -> project -> change the Android Gradle Plugin Version to 4.2.2 and gradle version to 7.0.2 This step fixes my error. Thank You T
Related