Android studio says
"This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.1.1 or newer."
I'm currently using Android Studio Chipmunk 2021.2.1 Patch 2 212.5712.43.2112.8815526, and would like to upgrade to the latest Android Studio Dolphin 2021.3.1.
Jetbrains Toolbox is providing an option for this upgrade.
However, when the new version gets installed and I open Android Studio, all the settings that I had before are lost, and it looks like a fresh install.
Plugins, themes, are all lost, and it seems like I need to re-install them.
Thankfully I'm able to rollback to the previous version for now.
In other Jetbrains IDEs, there's usually a prompt to migrate over from a previous installation. This isn't coming up with Android Studio.
Is this the normal behaviour for Android Studio? And if not, is there something I'm missing?
More details:
Current Android Studio version: Android Studio Chipmunk 2021.2.1 Patch 2 212.5712.43.2112.8815526
Current Jetbrains Toolbox App version: 1.26.0.13072
OS: macOS Monterey Version 12.5.1 (21G83)
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.
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.
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.
Add android.injected.studio.version.check=false to gradle.properties to temporary stop AGP version checking
Upgrade Android Studio to the newest version (Maybe the Canary builds)
Preview builds can be installed side by side with stable versions.(Sugguest)
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.
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
How can I fix this issue
And also I have JDK 8
Installed flutter dart plugins
This is a known bug with Android Studio Version 4.1.
Your choices are either to downgrade to 4.0, or wait for an update. The issue is with Android Studio, not the plugins.There is no known workaround to make the plugins work until the Android Studio team fixes it.
See https://github.com/flutter/flutter/issues/67986 for details.
I just upgraded my Android Studio to the very latest version 1.0rc4 and i am getting this error in gradle sync window
What is it I am supposed to do to make the build successful?