Featured post
- Get link
- X
- Other Apps
This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.2.1 or newer
Dear friends,
I was working in a react native project.I tried to run android part of the application using android studio.In order to check the application on android emulator,I waited for the build process to be completed successfully.Unfortunately i got error as shown below
This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.2.1 or newer.
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
com.intellij.openapi.externalSystem.model.ExternalSystemException: This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 2021.2.1 or newer.
Actually i couldn't understand what is the reason behind this error .Becuase when i check my package.json file
"dependencies": {
"react": "18.2.0",
"react-native": "0.71.3"
}
All dependencies are updated and actually i could not find the solution for long time.Later i checked android gradle plugin and gradle versions in my android application.In android studio i opened File -> Project Structure
currently my android gradle plugin and gradle versions are as shown below
So as says in the error This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project,please retry with version 2021.2.1 or newer, i need to upgrade my android studio installed in the system.Current stable version of android studio is Android Studio Electric Eel | 2022.1.1 Patch 2.So i decided to upgrade android studio installed in my system. Click Help -> Check for Updates
it will show current stable version and follow the instructions.If you want to know how to update android studio to latest version please watch the video given below
After successfully upgraded to latest stable android studio version,you may please build the project again.It will build successfully as shown in the above video without any error.
Popular Posts
How to Check React Version Installed in Your System by Checking PACKAGE.JSON File and Executing Command from COMMAND PROMPT
- Get link
- X
- Other Apps
Execution failed for task ':react-native-reanimated:externalNativeBuildDebug' solved
- Get link
- X
- Other Apps
Error: Invalid `prisma.$executeRaw()` invocation: fixed using log: ["query"] option
- Get link
- X
- Other Apps
app keeps stopping error solved in android studio emulator using logcat in react native project
- Get link
- X
- Other Apps
ERROR Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined
- Get link
- X
- Other Apps