Akhil
Akhil

Reputation: 165

How to upgrade gradle in android studio 4.1

android studio 4.1 doesn't have gradle settings as in previous versions. Currently I am retricted on 5.6.2. How to upgrade?

Upvotes: 2

Views: 5504

Answers (1)

Nadeem Shaikh
Nadeem Shaikh

Reputation: 1208

There are two ways to upgrade:

Method 1:- Click on File in Android Studio -> Project Structure -> Click on Project(on left panel) ->Change the Gradle version from selecting it from the drop down menu.

Method 2:- Open the gradle-wrapper.properties file in your project, find this URL - distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip and replace 6.5 with your desired version. Sync the project after changing.

For information regarding Android gradle, refer this link

Upvotes: 6

Related Questions