Upgrade Android Studio to 1.0.2 problem solving

Source: Internet
Author: User

The version of Android Studio currently downloaded from the Optical network is 1.0.1, and the upgrade to 1.0.2 is probably a 3M upgrade package. Upgrade is simple, click Help--check for Update ...

But I encountered the situation is hint: Connection failed. Please check your network connection and try Again!

After a search, found that need to do some updates to the configuration file, do not know is not my accommodating celestial sake! Here's how:

Locate the Android\android Studio\bin directory, modify the configuration file Studio.exe.vmoptions or studio64.exe.vmoptions, and add the following configuration:

-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/

Restart Android Studio and update it again to upgrade to 1.0.2. After the upgrade, Studio.exe.vmoptions has been modified back, so once again to configure the above steps.

In addition, the update of the SDK, there are some additions to the hosts Update method, but the personal feeling is not reliable, in case the Google IP changed how to do, so they re-found a tool to ensure the download.

Step1: Open SDK Manager and tick options in tools--options

Step2: "Please self" download tool Hoststool, I choose the server sourceforge, click Check Update/refresh, complete and then click Change Hosts.

Update the SDK to try it, is not the speed of the bar ~ ~

There is, in the browser input google.com bar, powerful artifact back again! Feel the github.com again, no longer bear the speed of the bird!

So in general, I will update the hosts with Hoststool one months.

Upgrade Android Studio to 1.0.2 problem solving

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.