New Update Launched Contact Us Download Now!

How to Update Gradle in Android Studio?

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated

 The Android Studio build system is based on Gradle, and the Android Gradle plugin adds several features that are specific to building Android apps. 

Gradle in android Studio -DataVoid

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. For the best performance, you should use the latest possible version of both Gradle and the plugin. When you update Android Studio, you may receive a prompt to automatically update the Android Gradle plugin to the latest available version. You can choose to accept the update or manually specify a version based on your project’s build requirements. 

In this article, we are going to discuss both methods. 

So, let’s dive into the four different ways in which Gradle can be updated.

Different Ways To Update Gradle 

Method 1

Step 1: Open Android Studio and navigate to File → Settings. 

Settings in android studio -DataVoid
Step 2: Then just click on Build, Execution, Deployment Tab Build → Tools → Gradle →Use default Gradle wrapper (recommended) option.

Step 3: Selecting desired Gradle version.

Step 4: Go to File → Project Structure

Step 5: Then click on the Project option.

            then choose the latest version of Gradle. After that click on Ok. 

Latest stable versions you can use with  Android Studio 4.3.0 (Oct 2021):

Android Gradle Plugin version: 7.0   Gradle version: 7.0

Method 2

Step 1: Open to Gradle > wrapper > gradle-                                 

Step 2: manually change the distributionUrl property in the file. 

gradle wrapper properties in android studio -DataVoid

Method 3

Step 1: Grab latest version supported by Android Studio:              (Currently 1.9, 1.10 is NOT supported by AS yet)

Step 2: Install: Unzip to anywhere like near where AS is installed:                   C:\Users[username]\gradle-1.9\

Step 3: Then navigate to File -> Settings

Step 4: Then click on Gradle -> Service directory path: (Change to folder you set above) -> Click ok. The status on the bottom should indicate it’s busy & the error should be fixed. Might have to restart.

Method 4

Step 1: Go to project-level build.gradle file

build.gradle in android studio -DataVoid

Step 2: You can manually, change   version of gradle to latest, just type classpath‘’.

Step 3: Put the latest version in place of x.x.x inside dependencies as shown below.

Classpath gradle version in android studio -DataVoid

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.