Error:(6, 0) Gradle DSL method not found: ‘google()’
Possible causes:
- The project ‘sleep-partner’ may be using a version of Gradle that does not contain the method.
- The build file may be missing a Gradle plugin.
和朋友合作开发项目从git上克隆项目出现该报错信息
这是gradle版本原因造成的,可通过升级版本解决,此处升级为4.4版本