Android studio upgrade, the perfect update to the latest official stable version

Android studio 2.0 Once the time has been released, it is said, much faster, but there has been no attempt to update, you have to see the update, so the update is ready to wait, however, to update the road is really bumpy abnormal. Mother of inquiry, strange and unsettled issues connected to, but the help of friends or played a significant role.

First of all thank the brothers of the article, it is really a great help. Click to open the link http://www.jianshu.com/p/465b0234142b , below this article for two users is a big brother to help click on the link to open

http://www.sjsjw.com/100/005070MYM001024/,

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

First of all my AS version 141.2288178, click on the help - check for update, but only pop

Later, after Baidu, to download the original jar package, however, until a few buddies saw that article, can not find the link, the original version of the span is too large, click to open the link https://dl.google.com/android/ studio / patches / updates.xml this document also meters have to find my version, before the brothers say it should be upgraded at the same level until smooth inside, is also number two patches to <build> </ build> shown above upgrade between we go, if not, it may be wrong; so I wanted only upgraded separately

That Android 1.5.1-- → → 1.4 - Android Android 2.0 (bulid Number The 141.2288178 - → 141.2456560 ---- 143.2739321 ), so we establish the following two links https://dl.google.com/android/studio /patches/AI-141.2288178-141.2456560-patch-win.jar   https://dl.google.com/android/studio/patches/AI-141.2456560-143.2739321-patch-win.jar

Download good jar package, according to the article in front of users who install the command line jar package,

java -classpath "D:\ASupdate\AI-141.2288178-141.2456560-patch-win.jar" com.intellij.updater.Runner install .  


java -classpath "D:\ASupdate\AI-141.2456560-143.2739321-patch-win.jar" com.intellij.updater.Runner install .  

After the next update is also a problem that may jar package conflicts, but finally resolved, click to open the link http://www.sjsjw.com/100/005070MYM001024/ this link is useful, good later update has been successfully upgraded to 1.5. Figure 1

As shown, this time I have found that the update prompt box that update and restart, so just click update to 2.0, of course, you can install the same jar package as before.





如上图所示,点击check for update 按钮,居然出现了上面的错误,很无语,辛亏还是找到了办法。



以上纯属个人见解,可能会去下载整个版本,只是个人喜好,但我还是觉得升级补丁更好。更新之后,果然速度快多了,打开一个project,很快。

重点来了

当然还有另一种方法升级到官方最新的稳定版本,可以到官网下载中心,找到没有SDK的安装程序包,也就500M左右,不是很大。可以右键下载,也可以复制下载链接,重新建立下载,下载完之后,点击安装,会提示卸载旧版本,安装之前可以将之前版本使用的SDK,独立出来,重新创建一个文件夹,这SDK某种程度上和JDK一样就是一个开发工具包,可以独立于AS程序,这样安装后,会提示是否沿用上一版本的一些设置,比如主题,SDK位置,JDK位置等等其他的基础设置,打开AS,就可以沿用SDK,不用重新安装SDK(其实AS的程序很大一部分在于SDK),当然可能也会出现其他的问题,比如gradle版本不一致,build_tools版本不一致等等,这些问题当然百度一下,很快就会找到答案,很容易解决。所以管是更新AS,还是想拷贝AS到另一个电脑,只需要拷贝已有的SDK和一个最新的AS安装程序(无SDK)即可,当然当重新安装exe文件时,会提示你是否沿用你之前的版本的一些设置,这时,就不要重新设置主题,字体大小等一些基本的设置。

发布了18 篇原创文章 · 获赞 15 · 访问量 8万+

Guess you like

Origin blog.csdn.net/Alex_wsc/article/details/51146833