title: which method should I add?
body: <p>I'm new to android studio. I have problem with syncing my project with this title "android studio “Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly”.</p>
  
  <p>error message:</p>
  
  <blockquote>
    <p>Gradle DSL method not found :'mavenCentral()'
    Possible causes:
    .The project may be using a version of Gradle that does not contain the method.
    .The built file may be missing a gradle plugin.</p>
  </blockquote>