How to check the gradle version in Android Studio?

user2718067 picture user2718067 · Aug 12, 2014 · Viewed 135.7k times · Source

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?

Answer

Scott Barta picture Scott Barta · Aug 12, 2014

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