google-developer-training/android-fundamentals-starter-apps-v2

Related to gradle error

Jasjot784 opened this issue · 1 comments

In gradle-wrapper.properties(project-level) the following code is there -
#Tue Sep 11 11:19:59 PDT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-4.4-all.zip

When project is build it returns following error-
The specified Gradle distribution 'https://services.gradle.org/distributions/gradle-4.4-all.zip' does not appear to contain a Gradle distribution.Please help -

@Jasjot784 , replace your code with this -

#Tue Sep 11 11:19:59 PDT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-6.1.1-all.zip