Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to resolve Gradle plugin requires Studio 3.0 minimum

Tags:

I am getting Error:This Gradle plugin requires Studio 3.0 minimum when importing project
Project repo: https://github.com/chrisbanes/cheesesquare
I had tried mentioned solution provided here and here but nothing worked :(

like image 344
Vaibhav Singh Avatar asked Aug 04 '17 18:08

Vaibhav Singh


People also ask

How do I set the Gradle plugin version?

You can specify the Gradle version in either the File > Project Structure > Project menu in Android Studio, or update your Gradle version using the command line. The preferred way is to use the Gradle Wrapper command line tool, which updates the gradlew scripts. The following example sets the Gradle version to 7.5.

How do I fix Gradle issues?

For this, you have to connect your PC to the internet and you have to open your Android studio. After opening your project click on the Sync Project with Gradle files option. This will automatically download the new Gradle files and will fix the issue which is caused by the Gradle files.


1 Answers

The repository you're trying to import uses gradle build tools 3.0.0 and gradle 4.0. These aren't supported in Android Studio 2.3, which means that project can only be opened in Android Studio 3.0 preview.

Your options:

1) Download android studio 3.0 preview and use it for the project

2) Check out repository and revert it to just before commit 822b84a1e58126412f708745d8bcee5a525620ae (which is where the conversion to latest version of gradle happened)

like image 59
Oleg Filimonov Avatar answered Oct 24 '22 17:10

Oleg Filimonov