0

I have just updated to Android Studio 3.1.4 and now it is showing "No cached version of com.android.tools.build:gradle:3.1.4 available for offline mode" And if I turn off offline mode it is showing another error in loading dl.google.com/.... I want to run Android studio without Internet Connectivity. How to solve this

  • 1
    Possible duplicate of [No cached version of com.android.tools.build:gradle:0.9.1 available for offline mode](https://stackoverflow.com/questions/22607661/no-cached-version-of-com-android-tools-buildgradle0-9-1-available-for-offline) – Nick Sep 20 '18 at 10:43

1 Answers1

0

You probably checked the offline mode in:

File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle.

Uncheck the option Offline work and you'll be good to go.

Edit:

In fact, you’ll need to get connected to the internet for the first time downloading the dependencies-packages-meta files and etc. Then after, you’ll be able to use Android Studio offline if you don’t change the Build.gradle.

ʍѳђઽ૯ท
  • 16,646
  • 7
  • 53
  • 108