Gradle Error

Error:(6, 0) Gradle DSL method not found: 'google()'

The google() repo is a shortcut to looks in Google's Maven repository for dependencies. It was introduced with gradle v.4.0.

It requires (currently)

  • Gradle v.4
  • Android Studio 3.x.
  • Gradle plugin for Android 3.x

你可能感兴趣的:(Gradle Error)