I've recently shifted to **Android-Studio** from **Eclipse** simply because of it's **automatic code completion** feature which I fell in love with. But Android Studio is giving me a hard time from the moment I installed. It is laggy, it freezes often, but the main problem is that it does **NOT** build my projects without connecting to the internet. I found [this](https://stackoverflow.com/questions/21066598/android-studio-0-4-2-gradle-project-sync-failed-error) question where I found that we can build **gradle** projects without connecting it to the internet by enabling the **"Offline Mode"** but it doesn't work for me. Even if I set gradle to local distribution mode, Android Studio automatically changes it to default settings, which is really annoying. I've no idea what's wrong with Android Studio. I'm using **version 0.4.6.**

The event log shows this - 

```
11:13:26 PM AssertionError: Already disposed: Already disposed
11:13:42 PM Failed to refresh Gradle project 'Study Buddy'
        Unknown host 'repo1.maven.org'.
        Please ensure the host name is correct. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
        HTTP proxy settings Open Gradle documentation

```

However, when I connect to the internet gradle builds the projects without any error. But I want to use Android-Studio in Offline Mode since I've a really low bandwidth. Please help to fix this issue.