I tried running my App on android studio but I keep getting this error message:
Exception in thread “main” java.net.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
I suspected it could be my internet connectivity or firewall, So I proceeded to download the Gradle files manually. To my surprise, I couldn’t download the file. I get this error message on the browser:
An error occurred during a connection to objects.githubusercontent.com. PR_CONNECT_RESET_ERROR
Error code: PR_CONNECT_RESET_ERROR
I have checked everywhere to find out whether the site is blocked by my Firewall or Browser but I don’t know where to loook.
How do I get this sorted out? It seems the download location for Gradle is been blocked.