Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Gradle Offline mode in Android Studio 3.6 [duplicate]

I updated my Android Studio application to the latest version on Mac to Android Studio 3.6, Build: #AI-192.7142.36.36.6200805

I saw the option to enable offline mode(in the Build output area or so) when the build failed due to Internet connection problems and I did so by clicking the supplied link.

Later on, I needed to disable offline mode and I followed the normal steps:

Go to Preferences > Build, Execution, Deployment > Gradle.

But on the Gradle option in this very build, there was no Check the Offline work checkbox

My question is:

How do I disable offline mode under the newest build of Android Studio?

like image 696
gbenroscience Avatar asked Mar 01 '20 12:03

gbenroscience


People also ask

How do I turn off gradle offline mode?

(Build Tools -> Gradle) Then (uncheck -> Offline work) on the right. Click the OK button.

How do I turn off offline mode?

Go to File -> Settings. Then uncheck -> Offline work on the right. Click the OK button.

What is gradle toggle offline mode?

If we need to use the offline mode, just go to the Gradle window and click the Toggle Offline Mode button: After we click the button to enable offline mode, we can reload all dependencies and find that offline mode works.

Where is gradle settings in Android Studio?

Open your project in Android Studio and select File > Settings... > Build, Execution, Deployment > Build Tools > Gradle (Android Studio > Preferences... > Build, Execution, Deployment > Build Tools > Gradle on a Mac).


1 Answers

The Same answer as above but in pictures.

Look at the right side of the Android studio, you will see gradle tab. Click on it.

enter image description here

enter image description here

If you cannot see gradle tab then

enter image description here

like image 59
Muhammad Ahmed Ali Baig Avatar answered Oct 04 '22 10:10

Muhammad Ahmed Ali Baig