Android Studio安裝注意事項(xiàng)
http://tools.android.com/download/studio/canary 每周都有更新,不內(nèi)置SDK
NOTE: These .zip files do not contain an embedded SDK install. If you have an existing install of Studio which contains an embedded SDK, if you upgrade by installing one of these zips, make sure you copy over the SDK as well.
http://tools.android.com/download/studio/dev 版本對(duì)應(yīng)下面↓,不內(nèi)置SDK
http://developer.android.com/sdk/installing/studio.html 開發(fā)者官網(wǎng),內(nèi)置SDK
This download includes:
-
Android Studio early access preview
-
All the Android SDK Tools to design, test, debug, and profile your app
-
The latest Android platform to compile your app
-
The latest Android system image to run your app in the emulator
如果已經(jīng)從官網(wǎng)安裝了Android Studio,應(yīng)該可以通過(guò)canary和dev channel下載的zip解壓覆蓋,完成更新.
SDK下載 可以選擇SDK Tools Only 下載.解壓到自己指定的目錄,運(yùn)行SDK Manager即可在線更新.
如需離線更新SDK,可以通過(guò)SDK Manage每次打開時(shí)顯示的Log,瀏覽器中打開希望更新的文件xml地址,在頁(yè)面中找到文件名,更改xml地址后綴為文件名,復(fù)制到迅雷即可下載.
下載完成后,復(fù)制到,SDK目錄下的temp中,在打開SDK Manager,選擇更新的文件,因?yàn)槲募呀?jīng)下載,所以顯示Downloading只有幾秒,然后開始解壓安裝.
例子:
要安裝Intel x86 Atom System Image以創(chuàng)建更快的模擬器,查看Log
知道文件xml地址為:https://dl-ssl.google.com/android/repository/sys-img/x86/sys-img.xml,在瀏覽器中打開,可以找到各個(gè)版本SDK對(duì)應(yīng)的文件名:
要用迅雷下載sysimg_x86-19_r02.zip,可知其下載地址為:https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-19_r02.zip
離線更新AndroidStudio注意事項(xiàng):
從 http://tools.android.com/download/studio/canary/latest 下載***Canary版本離線包。
例如下載0.5.8,解壓后的android-studio文件夾下有四個(gè)文件夾和三個(gè)文本。
到本地Android Studio的安裝目錄(C:\Android\android-studio),備份“四個(gè)文件夾和三個(gè)文本”,然后刪除原本,復(fù)制新的過(guò)去。
打開,出現(xiàn)提示: This version of Android Studio may not work correctly without Android SDK Tool revision 22.6.2 or above.
然后就按要求下載更高級(jí)版本的SDK吧。