Gradle Sync Failed Android Studio 3.6 : <p>I have just updated the Android Studio from 3.5.3 to 3.6. After this update, I have updated the Gradle and Android SDK Build Tools as well. Now the Gradle sync is failing with these errors:</p>

<pre><code>1. org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException:
    Could not resolve all artifacts for configuration ':classpath'.
 2. org.gradle.internal.resolve.ModuleVersionResolveException: Could not
    resolve com.android.tools.build:gradle:3.6.0.
 3. org.gradle.internal.resolve.ModuleVersionResolveException: No cached
    version of com.android.tools.build:gradle:3.6.0 available for
    offline mode.
</code></pre>

<p>Looking at the 3rd error it seems that <strong>Offline Work</strong> option needs to be disabled in Android Studio <strong>Settings -> Build, Execution, Deployment -> Gradle</strong>. But the <strong>Offline Work</strong> check box is no where to be found in the said settings.
Is it the actual problem? If yes, then how it could be disabled in <strong>Android Studio 3.6</strong>? If no, then what is the problem here?</p>

<p>I have already tried <strong>Invalidate Caches / Restart</strong> but it did not help.</p>
