Forward offline installation of Android Studio updates, androidstudio

Source: Internet
Author: User

Forward offline installation of Android Studio updates, androidstudio
1. Online update

As Android Studio becomes more and more perfect and popular, it is becoming the first choice for Android Developers in terms of functionality and performance. HoweverWallBecause, when we update Android Studio, it will not be updated:

At this time, you can either download the latest Android Studio installation package from the official website-if you cannot detect any updates, you will not be able to access the official website of the Android developer. Tragedy ^-^ !! However, we also have another method of "saving the nation by curve", that is, to obtain the offline update package and then install it manually.

2. Online update package selection

There are multiple ways to update packages. One is to search and download the update packages backed up by other students to the network, and the other is to find the version information in the Android Studio Path list released by Google. The first method is simple. The second method is described below.

2.1 obtain the latest version information

History and the latest version information can be found on the https://dl.google.com/android/studio/patches/updates.xml, for example, I open the link now, the accessed content is as follows:

We can see that the latest version is 141.2202261. Let's write down this version number.

2.2. Obtain the version of Android Studio installed by yourself.

You can use Menu-Help-About to open the Menu and find the version number of the current installation in the pop-up dialog box:

We can see that the current installation version number is 141.2178183. We can also write down this version number.

2.3 download offline update packages

We splice the URL of the offline package in the following way:

Bytes
For example, if we obtain the offline package based on the version number, the URL is:

Https://dl.google.com/android/studio/patches/AI-141.2178183-141.2202261-patch-win.jar
Then download the offline update jar package.

3. Offline package installation

First, close all Android Studio tasks and put the jar update package in any directory except the Android Studio installation directory. Start the command line and enter the following command:

Java-classpath AI-141.2178183-141.2202261 com. intellij. updater. Runner install [Android \ Install \ Path]
Note that the final [Android \ Install \ Path] is replaced with the installation directory of Android Studio on your machine. Then press enter to execute the command. A dialog box is displayed, showing the installation progress:

After the installation process is complete, the dialog box is automatically closed. The entire update and installation process is complete. At this time, we started Android Studio and we can see that it has been updated to the latest version: Click Help-> About to view details.

4. Handle installation errors

If you encounter an installation error, it is generally as follows:

Some conflicts were found in the installation area.

Please select desired solutions from the Solution column and press Proceed .....

The possible causes are as follows:

You still have the Android Studio task not closed. Check it. If yes, close it;
You put offline jar files to the installation directory of Android Studio, resulting in file occupation or other errors.

 

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.