android studio离线升级,Android Studio 离线升级科普

但是发布说明里写着

“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.”

“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版本:

"(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 ."

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

【编辑推荐】

【责任编辑:闫佳明 TEL:(010)68476606】

点赞 0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值