How to Determine Android Studio Gradle Version


If you are using Android Studio and want to know what Gradle version you have been using with it, then you can follow one of the below options.


Option 1: Using Module Settings

    1) Right Click on the project/module folder in your Android Studio IDE and click on "Open Module Settings"

    2) Now go to the Project tab, here you will see the "Android Gradle Plugin Version" and the "Gradle Version"

    Android Gradle Plugin Version Details

    You can even change the Gradle version using the dropdown.


Option 2: Using the gradle-wrapper.properties file

    1) Open the Gradle Scripts folder under your App Module in Android Studio IDE.

    2) Now, click on gradle-wrapper.properties and look for distributionUrl value.

    Example:
    distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip

    3) Looking at this value, you know that the Gradle version here is 8.0


Using the Terminal in Android Studio

    1) Open Terminal in Android Studio by going to Menu: View -> Tool Window -> Terminal

    2) Now type ./gradlew --version and you will know the Gradle Build version details.

    macOS % ./gradlew --version
    
    Welcome to Gradle 8.0!
    
    For more details see https://docs.gradle.org/8.0/release-notes.html
    
    
    ------------------------------------------------------------
    Gradle 8.0
    ------------------------------------------------------------
    
    Build time:   2023-02-13 13:15:21 UTC
    Revision:     62ab9b7c7f884426cf79fbedcf07658b2dbe9e97
    
    Kotlin:       1.8.10
    Groovy:       3.0.13
    Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
    JVM:          20.0.1 (Amazon.com Inc. 20.0.1+9-FR)
    OS:           Mac OS X 14.0 x86_64
    

This is not an AI-generated article but is demonstrated by a human working with Android Studio Giraffe on an M1 Mac running macOS Sonoma 14.0.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap