bCliks
bCliks

Reputation: 2978

"Check update" is not working in android studio

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?

Upvotes: 17

Views: 32727

Answers (7)

sch001
sch001

Reputation: 81

Maybe u can try: Settings -> System settings -> HTTP Proxy -> auto-detect proxy settings.

Upvotes: 3

Kris
Kris

Reputation: 43

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

Upvotes: 2

bCliks
bCliks

Reputation: 2978

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:

  1. Open configuration

  2. Select Settings

  3. Select HTTP Proxy

  4. Set to use no proxy

  5. Restart Andriod studio

Upvotes: 27

jithender
jithender

Reputation: 1

It may be an also problem for VPN connected users. Try to disconnect and check for updates it will work. It worked for me

Upvotes: 0

dvrm
dvrm

Reputation: 3759

start the android studio as administrator. that helps me in android studio whenever updates/installations are failed.

Upvotes: 3

androidExplorer
androidExplorer

Reputation: 136

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.

Upvotes: 0

Varun
Varun

Reputation: 1

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.

Upvotes: 0

Related Questions