Setting up Android Studio to work offline

Viewed 572

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.

2 Answers

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.

In Android Studio open the settings and search for offline it will find the Gradle category which contains Offline work. You can enable it there.

Gradle Offline work

Related