Could not find method google() for arguments [] on repository container.
savked opened this issue · 3 comments
savked commented
Getting "Could not find method google() for arguments [] on repository container." when Gradle Building.
Deleted user commented
How to resolve this problem? I tried to modify the "distributionUrl=https://services.gradle.org/distributions/gradle-2.2-all.zip" to 4.1 version in gradle-wrapper.properties
since I use android 3 and it requires the gradle version at least be 4.1.
savked commented
@11510746 Try using distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
Deleted user commented
@11510746 Try using
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
Thanks. But it causes another problem which is mentioned in #90