Connection Server failed when Android studio was updated

Source: Internet
Author: User

Workaround under Windows:

If you are running a 32-bit Android studio, you need to modify the file:

In the startup directory of Andriod Studio. Find studio.exe.vmoptions this file. Add in the back

-djava.net.preferipv4stack=true

-didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-didea.patches.url=http://dl.google.com/android/studio/patches/


If it's 64-bit, find the Studio64.exe.vmoptions file, and add it to the back.

-djava.net.preferipv4stack=true

-didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-didea.patches.url=http://dl.google.com/android/studio/patches/


Save.. Restarting studio generally solves the problem.

If you have a VPN or proxy, you can configure the proxy.


References for agents:

Http://www.cnblogs.com/dyllove98/archive/2013/08/04/3236884.html


This article references: http://www.inferjay.com/blog/2013/09/26/update-android-studio-fail/

Connection Server failed when Android studio was updated

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.