Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check the gradle version in Android Studio?

When compiling this official project with Android Studio 0.82, it shows error note:

Error:The project is using an unsupported version of the Android Gradle plug-in (0.9.2) 

After some searching, I decide to manually change content in the build.gradle file in line

classpath 'com.android.tools.build:gradle:0.9.+' 

to the gradle version that is installed in Android Studio.

The question is, can how to check the gradle version in my Android Studio?

like image 985
user2718067 Avatar asked Aug 12 '14 09:08

user2718067


People also ask

How do I find my Gradle version?

In Android Studio, go to File > Project Structure. Then select the "project" tab on the left. Your Gradle version will be displayed here.

Where can I find Gradle in Android Studio?

gradle file, located in the root project directory, defines dependencies that apply to all modules in your project. By default, the top-level build file uses the plugins block to define the Gradle dependencies that are common to all modules in the project.

What is Gradle latest version?

The current Gradle release is version 7.5. 1, released on 05 Aug 2022.


1 Answers

File->Project Structure->Project pane->"Android plugin version".

Make sure you don't confuse the Gradle version with the Android plugin version. The former is the build system itself, the latter is the plugin to the build system that knows how to build Android projects

like image 52
Scott Barta Avatar answered Sep 26 '22 00:09

Scott Barta