Android Studio 离线升级科普

移动开发 Android
Android Studio 更新的频率还是挺高的,本文作者就跟大家分享一些关于Android Studio 离线升级的经验,给大家做一下科普。

Android Studio 更新的频率还是挺高的详见 http://tools.android.com/recent

但是发布说明里写着

If you are already running Android Studio, just restart it, or manually check for updates via Help > Check for Update... (on OSX, look in the Android Studio menu). This will download and install a small patch rather than download a full IDE image. We are not posting full installers for each weekly update. If you do not already have Android Studio, install the latest full install from http://developer.android.com/sdk/installing/studio.html#download When you run that version, it will check for updates and upgrade itself via the patch mechanism.

当你在软件中执行upadate时,会发现网络是连不通的,why?有人提交bug。。。https://code.google.com/p/android/issues/detail?id=56068

We can't update this patch because the site: dl-sdk.appspot.com has been banned by our damn government. If I use a sock proxy, I still can't get the update. After request http://dl.google.com/android/studio/patches/updates.xml?uid=cc68c56e-13c7-4717-9253-194d2289aa33&os=Linux+3.0.0-30-generic&eap&build=AI-130.677228 client was redirect to dl.google.com/android/studio/patches/updates.xml?uid=cc68c56e-13c7-4717-9253-194d2289aa33&os=Linux+3.0.0-30-generic&eap&build=AI-130.677228

还好android项目成员有回复方案:

3- If that still fails, you can download the patch and apply it manually. The patch is located at http://dl.google.com/android/studio/patches/AI-130.687321-130.692269-patch-unix.jar (syntax is "AI-$FROM-$TO-patch-unix.jar", where you get the from/to using the updates.xml file) Once you have that file: $ cd android-studio-directory $ java -classpath /path/to/AI-130.687321-130.692269-patch-unix.jar com.intellij.updater.Runner install $PWD

对于windows版本:

1. 从http://tools.android.com/recent 找***版本号如 0.1.8 (Build number: 130.725679)或者从http://dl.google.com/android/studio/patches/updates.xml找***版本号

2. 下载补丁http://dl.google.com/android/studio/patches/AI-130.721168-130.725679-patch-win.jar

"(syntax is "AI-$FROM-$TO-patch-unix.jar", where you get the from/to using the updates.xml file)"

windows 对应为-win.jar

3. 进入android studio 目录X:\Android\android-studio安装

"java -classpath AI-130.721168-130.725679-patch-win.jar com.intellij.updater.Runner install ."

注意***的 “.” 安装到当前目录

责任编辑:闫佳明 来源: oschina
相关推荐

2016-09-01 08:36:27

Windows 10离线小工具

2011-09-14 16:49:36

Android SDK离线安装

2011-09-01 10:41:15

ubuntuISO

2011-05-25 09:24:15

Android

2011-05-03 09:58:16

Ubuntu11.04

2009-12-15 10:56:01

Visual Stud

2023-07-19 10:09:18

架构仓库SSD

2014-03-13 10:14:59

离线集群Hadoop 2.0淘宝

2014-07-14 10:54:13

Android Stu

2014-06-24 10:34:08

Android Stu教程

2014-07-01 11:18:37

Android Stu问题汇总

2013-05-17 10:48:40

GoogleAndroid Stu

2017-03-02 10:30:57

AndroidAndroid Stu技巧

2016-11-21 16:23:24

Android StGoogle

2013-05-21 10:17:28

GoogleAndroid Stu

2011-11-07 09:20:10

Android 4.0离线方式安装

2014-06-18 10:41:31

Android多任务机制

2023-12-01 11:56:53

Android谷歌

2010-02-23 10:39:43

Visual Stud

2010-03-05 09:41:43

Visual Stud
点赞
收藏

51CTO技术栈公众号