This version of the Android Support plugin for IntelliJ IDEA or Android Studio try 4.2 or newer.

Опубликовано: 03 Ноябрь 2024
на канале: Get Educated. IT
4,291
like

This version of the Android Support plugin for IntelliJ IDEA or Android Studio cannot open this project, please retry with version 4.2 or newer.

This usually happens when you're opening someone else's project after unzipping it and your current Android Studio Version is older to the version the project was compiled in.

The way to solve it is

Go to Help and about to see your android studio version
go to File Project Structure and set your Android Gradle Plugin version to your android studio version
Change the Gradle version to the one you usually use.
Build the project and it should run without any errors

Edit: It is tough to get the android gradle plugin version directly due to the new naming convention going forward 2020.3.1 Refer to this guide for such cases Android Gradle plugin release or use an older Gradle Plugin like 4.2.