android-when Android Studio update encounters Connetion failed ...

Source: Internet
Author: User

Due to controversial's well-known reasons, we sometimes can't update our version of Android studio correctly, Although before I can modify studio.exe.vmoptions inside the option, can reach the update, but do not know when, this method has not been effective, helpless, I found a new method on the network, offline update. The following is the method of offline update, do some elaboration.

    1. Get to your current version number:

      Get method: Help->about, get after as shown:

    2. Then get the latest version number:

    3. Open a webpage https://dl.google.com/android/studio/patches/updates.xml

      Find the following XML code at the top:

<products><product name= "Android studio" ><code>AI</code><channel  feedback= "Https://code.google.com/p/android/issues/entry?template=Android+Studio+bug"  id= "Ai-1-eap"   majorversion= "1"  name= "Android studio updates"  status= "EAP"  url= "/HTTP/ Tools.android.com/recent "><build number=" 141.2112779 " version=" 1.3 RC 4 ">< Message> 

From the code above we can find that the latest version number is:

141.2112779

4. Download the offline upgrade package:

The URL URLs for the download are:

https://dl.google.com/android/studio/patches/ai-$FROM-$TO-patch-win.ja

which

$FROM: Your current version number, such as my current version is: 141.2095413

$TO: Is the version number you want to upgrade, such as I am here to upgrade the version number is: 141.2112779

Then you can download it.

After downloading, copy the files to the root directory of Android studio.

CMD is then opened in the current directory. Execute the following command:

Java-classpath Ai-130.737825-132.843336-patch-win.jar com.intellij.updater.Runner Install.

Note that there is finally a "." Symbol, meaning is the current directory.

You have successfully upgraded your Android Studio. Enjoy it!

android-when Android Studio update encounters Connetion failed ...

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.