Last active
October 21, 2018 06:46
-
-
Save Tahmeed156/e61789fb27459d36d78276dbb60b3e19 to your computer and use it in GitHub Desktop.
Gradle error: Minimum supported Gradle version is 4.1 and method not found: 'google()' -- Problems with gradle installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
maven { | |
url 'https://maven.google.com' | |
} // Instead of google() to make it work | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:3.0.1' | |
classpath 'com.google.gms:google-services:3.1.1' | |
// NOTE: Do not place your application dependencies here; they belong | |
// in the individual module build.gradle files | |
} | |
} | |
.... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment