androidandroid-studioandroid-gradle-pluginandroid-studio-3.6

Cannot enable Gradle's offline mode on Android Studio 3.6


I'm using the new Android Studio 3.6 Canary 9 to test new functionalities, and I cannot enable Gradle's offline mode.

enter image description here

In Android Studio Preferences window, tab Gradle, I cannot find the entry point to enable it. Is this a bug or Google has disabled Gradle's offline mode?

Note that --offline option is still working when using command line.


Solution

  • From the Android Studio 3.6 new features blog post:

    New location to toggle Gradle's offline mode To enable or disable Gradle's offline mode, first select View > Tool Windows > Gradle from the menu bar. Then, near the top of the Gradle window, click Toggle Offline Mode Gradle offline button in the Gradle panel..

    Here is the link