Offline upgrade of Android Studio

Source: Internet
Author: User

Offline upgrade of Android Studio

 

Android Studio update frequency is still quite high see http://tools.android.com/recent

But the release notes contain

 

"If you are already running Android Studio, just restart it, or manually check for updates via Help> Check for Update... (on OSX, look in the Android Studio menu ). this will download and install a small patch rather than download a full IDE image. we are not posting full installers for each weekly update. if you do not already have Android Studio, install the latest full install from the http://developer.android.com/sdk/installing/studio.html#download When you run that version, it will check for updates and upgrade itself via the patch mechanic."

When you run upadate in the software, you will find that the network is disconnected, why? Someone submitted a bug... Https://code.google.com/p/android/issues/detail? Id = 56068

"We can't update this patch because the site: dl-sdk.appspot.com has been banned by our damn government. if I use a sock proxy, I still can't get the update. after request http://dl.google.com/android/studio/patches/updates.xml? Uid = cc68c56e-13c7-4717-9253-194d2289aa33 & amp; OS = Linux + 3.0.0-30-generic & amp; eap & amp; build = AI-130.677228 client was redirect to dl.google.com/android/studio/patches/updates.xml? Uid = cc68c56e-13c7-4717-9253-194d2289aa33 & OS = Linux + 3.0.0-30-generic & eap & build = AI-130.677228"

Fortunately, the android project members have a reply plan:

"3-If that still fails, you can download the patch and apply it manually. the patch is located at http://dl.google.com/android/studio/patches/AI-130.687321-130.692269-patch-unix.jar (syntax is "AI-$ FROM-$ TO-patch-unix.jar", where you get the from/to using the updates. xml file) Once you have that file: $ cd android-studio-directory $ java-classpath/path/to/AI-130.687321-130.692269-patch-unix.jar com. intellij. updater. runner install $ PWD"

For windows:

1. Find the latest version number from the http://tools.android.com/recent such as 0.1.8 Build number: 130.725679) or from http://dl.google.com/android/studio/patches/updates.xmlfind the latest version number

2. Download patch http://dl.google.com/android/studio/patches/AI-130.721168-130.725679-patch-win.jar

"(Syntax is "AI-$ FROM-$ TO-patch-unix.jar", where you get the from/to using the updates. xml file)"

Windows corresponds to-win. jar

3. Go to the android studio directory X: \ Android \ android-studio to install

"Java-classpath AI-130.721168-130.725679-patch-win.jar com. intellij. updater. Runner install."

Note that the last "." is installed in the current directory.

Related Article

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.