Skip to content

How do I set up Android Studio to work completely offline?

An answer to this question on Stack Overflow.

Question

I have very slow bandwidth, so I'm trying to keep all the required files on the local machine to work with Android Studio completely offline. When I click on "New Project" it always tries to download a file named gradle-1.6-bin.zip which I downloaded and tried to install locally via the plugin manager but it gives me an error:

fail to load plugin descriptor from file gradle-1.6-bin.zip

So what other files do I need to download and how do I install them properly to work offline with Android Studio?

Answer

It seems as though gradle was not installed for me. Going to Android/Sdk/tools/templates/gradle/wrapper and running ./gradlew tasks --debug has resulted in it downloading.