1

How can we disable the offline mode of Android Studio from its UI?

enter image description here

Nikos Hidalgo
  • 3,666
  • 9
  • 25
  • 39
Saoud Shah
  • 31
  • 1
  • 2
  • 2
    Does this answer your question? [How to disable gradle 'offline mode' in android studio?](https://stackoverflow.com/questions/28712025/how-to-disable-gradle-offline-mode-in-android-studio) – Harsh Jatinder Feb 21 '20 at 10:10

4 Answers4

14

You can simply click on the gradle tab from the right and choose the icon shown by the arrow. Forgive me for using black for the arrow color, I am very new to macs.

Gradle offline mode

Rafsanjani
  • 4,352
  • 1
  • 14
  • 21
0

uncheck offline Work

Go to the File > Setting > Gradle and then Uncheck Offline Work and then you can sync project (Make sure internet is connected)

Wahdat Jan
  • 3,988
  • 3
  • 21
  • 46
0

In MAC OSX, Android Studio - Preferences - Build, Execution and Deployment - Gradle - Offline work - uncheck it and apply/ok

Roman
  • 2,464
  • 2
  • 17
  • 21
-1

Please do as follow

File> Settings> Build,Executaion,Deployment> Gradle

On above path there will be checkbox showing offline work. Uncheck it and Apply it.

Vir Rajpurohit
  • 1,869
  • 1
  • 10
  • 23