android studio 4.1 doesn't have gradle settings as in previous versions. Currently I am retricted on 5.6.2. How to upgrade?
Asked
Active
Viewed 4,788 times
2
-
See [this answer](https://stackoverflow.com/a/70823558/8583692). – Mahozad Jan 23 '22 at 15:27
1 Answers
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