Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio gradle offline mode not found

Android Studio Preference to enable or disable Offline mode is not found in the latest Android Studio version 3.6.1.

enter image description here

From the build view suggestion, I was able to enable offline mode, but not able to disable now.

like image 881
JIthin Avatar asked Mar 27 '20 18:03

JIthin


People also ask

How do I enable gradle 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.

How do I run Android Studio in offline mode?

When you open android studio, look at the right side and there will be multiple tabs. Click on gradle and then on wifi icon to toggle between online and offline mode.

How do I disable gradle offline mode in arctic fox?

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


2 Answers

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..

enter image description here

like image 155
Wahdat Jan Avatar answered Oct 17 '22 04:10

Wahdat Jan


the setting for offline mode have changed again if you are on android studio 4.1 or above it has moved to the right side drawer of "gradle"

enter image description here

like image 23
amIT Avatar answered Oct 17 '22 02:10

amIT