Forty-six practical Android skills: Update Android Studio with patch

Source: Internet
Author: User

Forty-six practical Android skills: Update Android Studio with patch

The Android Studio on the company's machine is very fashionable and receives the official stable version of the push on time every time. The latest stable version is 1.4.1, which adds many exciting features.
However, the AS on my laptop is still in 1.3.1, and it is time to take the initiative to update it.

Currently, active updates are difficult. AS prompts a failure to connect to the server. There are two solutions circulating on the network:
1. Add the following content to the./bin/studio64.vmoptions file:

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

Although the update information can be called out, I still cannot download it here.

I had to try a complicated second solution.
Ii. download the patch for manual updates
 
All versions of Android Studio are listed here, and the latest version is 1.5 Beta.
"A new Android Studio 1.5 Beta is available in the canary channel ."
We need to take the initiative to obtain the patch in the following format:

 linux: AI-$FROM-$TO-patch-unix.jar  windows: AI-$FROM-$TO-patch-win.jar  MacOS: AI-$FROM-$TO-patch-mac.jar

However, there is no corresponding patch from 1.3.1 to 1.4.1, so you need to overdo it. Here are my two Upgrade Plans:

https://dl.google.com/android/studio/patches/AI-141.2135290-141.2288178-patch-unix.jarhttps://dl.google.com/android/studio/patches/AI-141.2288178-141.2343393-patch-unix.jar

The installation is simple. You only need to run the following command:

android-studio3$ java -cp ~/Downloads/AI-141.2135290-141.2279206-patch-unix.jar com.intellij.updater.Runner install ....android-studio3$ java -cp ~/Downloads/AI-141.2279206-141.2343393-patch-unix.jar com.intellij.updater.Runner install .



After the update is complete, start the new version of AS to explore NDK development support now!

 

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.