avjinder/Minimal-Todo

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

savked opened this issue · 3 comments

Getting "Could not find method google() for arguments [] on repository container." when Gradle Building.

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.

@11510746 Try using distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

@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