4

I do job in an area where there is no internet connection. I wanted to develop Android apps using Android Studio, but for the Gradle build it needs an internet connection. Is there a way in which I can completely setup Android Studio to work offline?

I have tried many answers on Stack Overflow but none worked. Else, suggest me some other ways to make Android apps completely offline.

Michael Dodd
  • 10,102
  • 12
  • 51
  • 64
Amar
  • 41
  • 1

1 Answers1

5

Before moving to area where you don't have an internet connection, sync project to download all dependencies. Next gradle providing options, Offline work.

File -> Settings -> Build, Execution, Deployment -> Gradle and turn on option Offline Work. That is it.

Dmytro Ivanov
  • 1,260
  • 1
  • 8
  • 10
  • But what if I wanted to create a program their.can i download all dependencies in advance? – Amar Jan 04 '19 at 11:22
  • I don't see offline work option under as instructed in newer version of 2023, could anyone point where it is (if still available anyway)? – EnthusiastiC Aug 30 '23 at 12:02