avjinder / Minimal-Todo

Material To-Do App
MIT License
2.19k stars 1.01k forks source link

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

Closed savked closed 6 years ago

savked commented 6 years ago

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

ghost commented 6 years ago

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 6 years ago

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

ghost commented 6 years ago

@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