title: Disable Gradle 'offline mode' and sync project
body: <p>I'm cloning to a github repository  and this error is apearing.</p>
  <p>Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom'. Received status code 405 from server: Method Not Allowed
  Disable Gradle 'offline mode' and sync project</p>
  <p>I also disable offline mode from github short cut method available on right side of android studio and sync again but it is not working again.<a href="https://i.stack.imgur.com/yUVP9.png" rel="nofollow noreferrer">here is image of error and gradle</a></p>