When trying to create a project in Android Studio, the download logs consistently show about 30-60 downloads failing.
Example: Failed https://dl.google.com/dl/android/maven2/com/google/protobuf/protobuf-java/3.25.5/protobuf-java-3.25.5.pom 37 ms 0 B 0 B/s
In the browser (when clicking on the direct link), a 404 error comes up.
And in Sync these errors:
Caused by: java.net.SocketException: Connection reset
Caused by: org.gradle.internal.resource.transport.http.HttpRequestException: Got socket exception during request. It might be caused by SSL misconfiguration
and so on
I’m on day 3, I don’t know what the problem is. I tried reinstalling Android Studio completely, installing different versions of gradle. Nothing helps. Does anyone know what to do?
SSL means certificates. Are you doing this on a home network, or a work network? If you’re doing it on a work network, there’s a 90% chance that your work has a custom self-signed root certificate that they use to encrypt all traffic on your work network. You’ll need to add your work’s root certificate to the keystore of the JDK that you’re using.
1 Like