To Enable or Disable Gradle Offline Mode In Android Studio 3.6.1 please see in picture below :
or
Try View ➡️ Tool Windows ➡️ Gradle from the menu bar. Then, near the top of the Gradle window, click Toggle Offline Mode
or
If you want demo video so please have a look on : https://www.youtube.com/watch?v=50WxM7mu6pg
More Related Contents:
- Android Studio gradle takes too long to build
- Gradle: Execution failed for task ‘:processDebugManifest’
- Using Build Flavors – Structuring source folders and build.gradle correctly
- No matching client found for package name (Google Analytics) – multiple productFlavors & buildTypes
- Android Studio: Gradle – build fails — Execution failed for task ‘:dexDebug’
- Android Studio Gradle Configuration with name ‘default’ not found
- gradle – library duplicates in dependencies
- Version conflict updating to play-services 9.4.0 Android studio 2.2
- A failure occurred while executing com.android.build.gradle.internal.tasks
- findFragmentById for SupportMapFragment returns null in Android Studio
- Adding local .aar files to my gradle build
- Sign APK without putting keystore info in build.gradle
- how can I add the aidl file to Android studio (from the in-app billing example)
- Gradle Sync failed could not find constraint-layout:1.0.0-alpha2
- Unable to import Eclipse project to Android Studio
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- Could not find com.android.tools.build:gradle:4.0.1 ( or any version )
- Android Studio Run/Debug configuration error: Module not specified
- add ‘tools:replace=”Android:value”‘ to element at AndroidManifest
- Add GitHub library as dependency to Android Studio project
- Stuck with Gradle Build Running
- How to apply plugin to only one flavor in gradle?
- Android XML: RuntimeException: Failed to resolve attribute at index 6
- How to set up gradle and android studio to do release build?
- Android Gradle DexException: Multiple dex files define Lorg/hamcrest/Description
- Gradle failed to sync with ‘unable to find optional library’
- After update android studio could not create parent directory for lock file
- While Android Studio Updated to v3.3 getting API ‘variant.getAssemble()’ is obsolete and has been replaced with ‘variant.getAssembleProvider()’
- Manually adding aar with dependency pom/iml file
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update