Android Studio Update Upgrade method

Source: Internet
Author: User

Since the Google I/O Conference, I moved the Android IDE development tool from Eclipse to Android studio, Android Studio has been updated, in order to keep pace with the times, we certainly have to update the tool to the latest version! In fact, the update is very simple, just select Check for update from the Android Studio Help menu:


But you will receive the following prompt:


Little friends, why is this? Because "the Great Wall"!!! The following describes the author's solution.

1. Get the build number of Android Studio installed on your PC

If Android Studio is already installed, then we only need to update incrementally. So download the update jar package, first know your current Android studio version number, help-"about

Note that build #AI-130.745757, such as the author's version number is 130.745757

2. Query what is the current version number of Android studio

(1) Visit the website http://tools.android.com/recent to see the latest build number, or
(2) Visit Https://dl.google.com/android/studio/patches/updates.xml to view the latest version number, the current author obtains the latest XML data as follows


From the returned XML data, we know that the latest build number is 132.809981.

Note that if the version of your as and the latest as version is significantly different, you cannot update the upgrade successfully at one time, you need to download each version of the jar package, and then update it step-by-step to the latest version

3. Download the incremental update package

Get the version number, we can download the update package, such as the author's update package for
Https://dl.google.com/android/studio/patches/AI-130.745757-132.809981-patch-win.jar
Please download the appropriate update package for your Android studio build number in the format ai-$FROM-$TO-patch-win.jar, where $from is the build for your current Android studio number,$ To the build number of the latest Android studio

4. Install the update package
Copy the downloaded update package to the installation directory of Android Studio, such as the author's installation directory D:\android-studio, copy the downloaded jar to the D: Directory

Then open a command line prompt and go to the Android Studio directory and run the following command:

java -classpath D://AI- 130.745757 132.809981 -patch-win.jar com. ELLIJ.UPDATER.RUNNER INSTALL . 

The last point "." Represents the current installation to the current directory, after installation, you can restart Android Studio, and then help-"about to see if it is updated to 0.2.7!

Reference:

http://blog.csdn.net/hil2000/article/details/11395485

Android Studio Update Upgrade method

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.