android_hello_world icon indicating copy to clipboard operation
android_hello_world copied to clipboard

Could not find method google() for arguments [] on repository container.

Open ghost opened this issue 7 years ago • 1 comments

gradle build

ghost avatar Apr 15 '18 12:04 ghost

I think this is because of too old gradle. You can use gradle-wrapper (./gradlew).

gradle -version
 Gradle 3.4.1
gradle build
 Could not find method google() for arguments [] on repository container of type org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.

./gradlew -v
 Gradle 4.1
./gradlew build
 BUILD SUCCESSFUL

aapo avatar Jul 15 '18 18:07 aapo