2

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

Akhil
  • 165
  • 1
  • 12

1 Answers1

6

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

Nadeem Shaikh
  • 1,160
  • 9
  • 17