\gradle-wrapper.properties not found in Android Studio
I have cloned a git project and I am getting the below issue.

How to resolve it?
Create a gradle/wrapper/gradle-wrapper.properties file and also put the gradle-wrapper.jar file in the same directory.
That's how the gradle-wrapper.properties file should look like:
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
You can also just copy the gradle directory from another project and edit the wrapper version.
If it could be usefull, i will suggest the Official Doc: adding_wrapper
Running the Wrapper task
$ gradle wrapper > Task :wrapper BUILD SUCCESSFUL in 0s 1 actionable task: 1 executed
Then The generated Wrapper properties file, gradle/wrapper/gradle-wrapper.properties, stores the information about the Gradle distribution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With