Android Studio How to Check and Update Gradle Version

Gradle

To Update Gradle, goto File -> Project Structure -> Project.

Else, you could edit gradle-wrapper.properties.

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip

To check for latest Gradle version: https://services.gradle.org/distributions/

Android Gradle

To Update Android Gradle, goto File -> Project Structure -> Project.

Else, you could edit Project build.gradle.

buildscript {
    repositories {
      ...
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'
    }
}

To check for latest Android Gradle version: https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google

Android Gradle plugin vs Gradle

The Android Studio build system is based on Gradle, and the Android Gradle plugin adds several features that are specific to building Android apps. Although the Android plugin is typically updated in lock-step with Android Studio, the plugin (and the rest of the Gradle system) can run independent of Android Studio and be updated separately. - Source

References:

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.