Download and install Android studio gradle offline
- Download gradle zip file
- Open the
gradle-wrapper.properties
file from your android project, path specified below
my-app\gradle\wrapper\gradle-wrapper.properties
- Set the
distributionUrl
to point to the download zip location, for example
distributionUrl=file:///C:/Users/username/Downloads/Compressed/gradle-4.10.2-all.zip
Done!
Now build the project and Android Studio will install the gradle.
1st open below link and download the latest
complete
version of Gradlehttps://gradle.org/releases/
Now you find your path where your android studio install
then Find .gradle folder, normally gradle is present here...
C:\Users\**YourAccountFolder**\.gradle\wrapper\dists\
Now paste your .zip file in dists folder and Extract.
Now open android Studio Go to
File > Settings > Build, Execute, Deployment > Gradle >
Now in Dialog select Use Local gradle distribution and paste path of your folder where extract .zip file.
then apply and OK
now you can update your gradle(app)
And Go to file, setting same as like above path and in dialog SELECT Offline work
Apply and Ok.