Android Studio增量升級(jí)什么情況下使用最合適呢?
比如現(xiàn)在的as版本是2.2版本,而你的as版本2.0版本,這個(gè)時(shí)候點(diǎn)Check For Updates就沒(méi)有反應(yīng)了,因?yàn)槟阋呀?jīng)2個(gè)有版本沒(méi)升級(jí)了(版本跨度太大?),所以這樣就不能在線升級(jí)了。
重要的信息
谷歌更新地址:https://dl.google.com/android/studio/patches/updates.xml
增加升級(jí)Jar下載:(windodws為win—linux為unix—mac os 為mac。對(duì)號(hào)入座)
https://dl.google.com/android/studio/patches/AI-xx-xx-patch-win.jar
https://dl.google.com/android/studio/patches/AI-xx-xx-patch-mar.jar
https://dl.google.com/android/studio/patches/AI-xx-xx-patch-unix.jar
這里解釋說(shuō)明一下上面紅色字體的意思前面的xx代表當(dāng)前as的版本號(hào),反之代表最新as的版本號(hào)。
Jar安裝命令:
Windows ——?java -classpath xxx.jar com.intellij.updater.Runner install .
Mac OS?——?java -classpath?xxx.jar com.intellij.updater.Runner install Contents/
Windows下增量升級(jí)步驟
點(diǎn)擊菜單欄的 Help -- > About,先查看查看當(dāng)前的Build Number,版本號(hào)143.2790544
去https://dl.google.com/android/studio/patches/updates.xml下載Jar,最新版本號(hào)145.3276617
截圖

拼裝URL ———>?https://dl.google.com/android/studio/patches/AI-xx-xx-patch-win.jar
下載增量Jar包 https://dl.google.com/android/studio/patches/AI-143.2790544-145.3276617-patch-win.jar(翻 墻)
進(jìn)入Android Studio根目錄
將下載的jar拷貝至Android Studio 的安裝目錄

執(zhí)行命令:
java -classpathAI-143.2790544-145.3276617-patch-win.jarcom.intellij.updater.Runner install .
Mac下增量升級(jí)步驟
與Windows平臺(tái)下1-2-3步驟一樣
下載增量Jar包 https://dl.google.com/android/studio/patches/AI-143.2790544-145.3276617-patch-mar.jar(翻 墻)
安裝這個(gè)地方有點(diǎn)不同。
拷貝

執(zhí)行命令-安裝
java -classpath /Applications/AndroidStudio.app/Contents/AI-143.2790544-145.3276617-patch-mar.jar ?com.intellij.updater.Runner install Contents/
3. 啟動(dòng)Android Studio安裝完畢