"No cached version... available for offline mode."
android, android-gradle-plugin, android-studio, gradle
Solution
With the new Android Studio 3.6 to toggle Gradle's offline mode go to `View` > `Tool Windows` > `Gradle` from the menu bar and toggle the value of Offline Mode that is near the top of the Gradle window.
Problem
I received an error message while building a new Hello World project in Android Studio: ``` FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'MyApplication2'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve com.android.tools.build:gradle:0.9.1. Required by: :MyApplication2:unspecified > No cached version of com.android.tools.build:gradle:0.9.1 available for offline mode. BUILD FAILED ``` Android Studio version: 0.5.2 Gradle version: 0.9.1 I'm using a proxy connection to Internet.