I have tried to "check update" in android studio
Help>Check for Updates
but it says
Connection failed. Please check your network connection and try again
But my Internet is working fine. .I've also tried to switch off my firewall. Is this bug of google service?
I had the same problem. To fix I had to manually download a newer version from https://developer.android.com/studio/.
I'm currently running Android Studio 3.2.1 and it updates fine.
Also, in Preferences > Appearance & Behavior > System Settings > HTTP Proxy make sure that Auto-detect proxy settings is checked.
Check Screenshot
I tried no proxy option at both office and home network.
At home, "Check Update" works fine, but getting the error you mentioned with office network.
To avoid this error, you need to provide the proxy details from your office IT administrator.
start the android studio as administrator. that helps me in android studio whenever updates/installations are failed.
Update : Whenever updates | installations are failed, start the android studio as administrator.
Old Answer: This is possibly a bug of Android Studio.
The following steps may help to fix this issue:
Open configuration
Select Settings
Select HTTP Proxy
Set to use no proxy
Restart Andriod studio
Maybe you can try: Settings -> System settings -> HTTP Proxy -> auto-detect proxy settings.
It doesn't seem to be a bug. I can confirm that the update worked perfectly fine on my home network. When on my office network, trying to update gives a connection error.
Must have something to do with the firewall...or some service that's not Checked to handle connections based on
domain/home/public
policies.