获取到你的当前版本号:
获取方法:Help->About,获取后如下图所示:
然后获取最新的版本编号:
打开网页https://dl.google.com/android/studio/patches/updates.xml
在最上面找到如下xml代码:
1<products><product name="Android Studio"><code>AI</code><channel feedback="https://code.google.com/p/android/issues/entry?template=Android+Studio+bug" id="AI-1-eap" majorVersion="1" name="Android Studio updates" status="eap" url="http://tools.android.com/recent"><build number="141.2112779" version="1.3 RC 4"><message><html>
2 A new Android Studio 1.3 RC 4 is available in the canary channel.<p/>
3 Canary builds are the bleeding edge, released about weekly. While these builds do get tested,<br/>
4 they are still subject to bugs, as we want people to see what's new as soon as possible.<br/><p/>
5 For slightly more predictable builds, use <b>Settings | Updates</b> and select the <b>Dev Channel</b>.</html></message>
从上面的代码中我们可以,发现最新的版本号为:
1141.2112779
4.下载离线升级包:
下载的网址url为:
1https://dl.google.com/android/studio/patches/AI-$FROM-$TO-patch-win.ja
其中
$FROM:你的当前版本号,比如我的当前版本为:141.2095413
$TO:就是你欲升级的版本号,比如我此处要升级的版本号为:141.2112779
然后就可以下载了。
下载后把文件拷贝到Android Studio的根目录下。
然后在当前目录打开cmd。执行以下命令:
1java -classpath AI-130.737825-132.843336-patch-win.jar com.intellij.updater.Runner install .
注意最后有一个“.”符号,意思就是当前目录。
标签:Connetion,builds,版本号,failed,studio,android,com,下载 From: https://blog.51cto.com/u_12853553/5896495