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
Asked
Active
Viewed 436 times
0
-
1Possible 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 Answers
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
-
-
-
Updated the answer. Explained why you need to get connected to the internet. – ʍѳђઽ૯ท Sep 21 '18 at 06:46