Android Studio Can't Connect to Internet/Download SDK on Windows 11

Issue

Really frustrating issue: i’m trying to install and run Android Studio on Windows 11, but every time I open it I get a message that some broken proxy setting is preventing the Android SDK from being downloaded. I’m not using a proxy at all as far as I know.

I’ve read lots of posts explaining that it’s a Windows Firewall issue, but nothing I’ve tried has worked. What I’ve tried so far:

  • Reinstalled Android Studio
  • Added Android Studio inbound & outbound exceptions to Windows Firewall
  • Disabled Windows Firewall entirely
  • Tried installing on different users on same Machine (same error)
  • Installed Electric Eel Beta version of Android Studio (instead of stable channel’s Dolphin, same error)
  • Flushed DNS cache on my PC
  • Closing the first run wizard and trying to manually download the SDK from SDK Manager in Android Studio (always "Unavailable")

Nothing has worked. I see this user here faced my exact issue and they said they were able to fix it by "relaxing restrictions with Windows Firewall". I’m not sure what that means beyond what I’ve already tried.

As far as I know I’m not actively connecting to the internet on my machine via any Proxies or VPNs. Maybe my torrenting software changed settings somewhere? It’s just strange because I’ve never had this issue before, even with torrenting software running/installed.

What should I do to get Android Studio to correctly download the Android SDK?

First time run always complains about proxy settings (what proxy??)Auto proxy settings don't work, fail to connect to https://cnn.com
SDK always shows as "Unavailable"
SDK Manager shows strange error abut filesystem root. Editing does nothing (leads to SDK showing as "Unavailable" for download)

Solution

After trying all kinds of network resets, connecting to alternative networks, etc., I was able to fix the issue by resetting Windows to factory settings.

After that, I downloaded and installed Android Studio and it was able to automatically downloaded the SDK during the first-run with no issues.

Answered By – Cody

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published