android studio 離線升級

Android Studio 更新的頻率仍是挺高的詳見 http://tools.android.com/recent html

可是發佈說明裏寫着 java

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 android

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項目成員有回覆方案: windows

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版本: android-studio

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 app

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

windows 對應爲-win.jar post

3. 進入android studio 目錄X:\Android\android-studio安裝 ui

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

注意最後的 「.」 安裝到當前目錄 this

相關文章
相關標籤/搜索