Answer the question
In order to leave comments, you need to log in
How to properly configure Gradle dependencies with Offline Work enabled?
I will say right away that I work in a university network, so some sites are cut for me. Initially, the problem was this: when opening the start project, the error Error:Connection timed out: connect took off. Ok, googled how to fix it. The solution was to download the gradle-3.3-all package and set the Offline Work option in the Gradle settings. But now, when trying to build the project, Gradle gives errors:
Disabling the Offline Work option does not solve the problem
Answer the question
In order to leave comments, you need to log in
Gradle can't pull dependencies. You did not cure the problem with an offline mod, but hid the symptoms.
The solution... well, maybe you can pull up a local maven repository and put all the dependencies there, put it in build.gradle:
buildscript {
repositories {
maven {
url...
}
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question