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

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

Consult IDE log for more details (Help | Show Log)

修改gradle-wrapper.properties中的值

distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

修改为

distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

 

posted @ 2018-04-11 10:24  maxwell_xu  阅读(11232)  评论(0编辑  收藏  举报