Good day, I’ve being trying to sync project but I am getting “Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-8.2-bin.zip’.
Reason: java.net.SocketTimeoutException: Read timed out” i have downloaded Gradle 8.9 and move it to my root folder but i am still having issue. i need help
What you manually move anywhere is relatively irrelevant.
You should actually almost never need any manually installed version at all.
Each build should contain the 4 wrapper files that manage the Gradle version this specific build should run with, and auto-provisions that version.
And that has a problem to download the needed distribution.
Why I can only guess.
The server is working fine from here.
Maybe you have some firewall blocking it.
Or you need to configure some proxy you did not do for Gradle.
Or something similar.
@Vampire I’ve disable firewall and window security but i am still getting “Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-8.2-bin.zip’.
Reason: java.net.SocketTimeoutException: Read timed out”
i have also set proxy to
“systemProp.http.proxyHost=localhost
systemProp.http.proxyPort=3128
systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=3128”
But nothing have change
Well, as I said, I can hardly debug your network environment from here.
I can just say that the host is working perfectly fine here.
@Vampire I’VE DOWNLOADED NEW GLADLE BUT STILL HAVING SAME ERROR
Why are you shouting at me?
You shouting does not make me able to debug your network environment.
You shouting at me just makes me stop to even read your messages.
I’m just a user like you trying to help, and I really don’t like being shouted at for trying to help.
And this is also not conforming to the code of conduct of this forum.
@Vampire I’m not shouting, just trying to update you. Please don’t be offended.
If you don’t want to shout, do not write in all-caps, because that is considered shouting in text communication.
Especially as it is not any update, you already said that in your first post, and I already told you that is irrelevant in my first reply.
Yes, i downloaded another one from the error message, i didn’t know that all-caps was considered shouting. i’ve learnt that from you.
Please, I still need help. I don’t know if the problem is from the Android studio. I’ve tried all necessary mean to solve the problem.
Whether AS is involved is easy to determine.
Build from commandline, then AS is out of the equation.