Android Studio安裝注意事項

http://tools.android.com/download/studio/canary      每週都有更新,不內置SDK
html

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.android

http://tools.android.com/download/studio/dev           版本對應下面↓,不內置SDKandroid-studio

http://developer.android.com/sdk/installing/studio.html    開發者官網,內置SDK
瀏覽器

This download includes:app

  • Android Studio early access previewgoogle

  • All the Android SDK Tools to design, test, debug, and profile your appspa

  • The latest Android platform to compile your appdebug

  • The latest Android system image to run your app in the emulatororm

若是已經從官網安裝了Android Studio,應該能夠經過canary和dev channel下載的zip解壓覆蓋,完成更新.xml

SDK下載 能夠選擇SDK Tools Only 下載.解壓到本身指定的目錄,運行SDK Manager便可在線更新.

如需離線更新SDK,能夠經過SDK Manage每次打開時顯示的Log,瀏覽器中打開但願更新的文件xml地址,在頁面中找到文件名,更改xml地址後綴爲文件名,複製到迅雷便可下載.

下載完成後,複製到,SDK目錄下的temp中,在打開SDK Manager,選擇更新的文件,由於文件已經下載,因此顯示Downloading只有幾秒,而後開始解壓安裝.

例子:

要安裝Intel x86 Atom System Image以建立更快的模擬器,查看Log

知道文件xml地址爲:https://dl-ssl.google.com/android/repository/sys-img/x86/sys-img.xml,在瀏覽器中打開,能夠找到各個版本SDK對應的文件名:

要用迅雷下載sysimg_x86-19_r02.zip,可知其下載地址爲:https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-19_r02.zip

離線更新AndroidStudio注意事項:

從 http://tools.android.com/download/studio/canary/latest 下載最新Canary版本離線包。

例以下載0.5.8,解壓後的android-studio文件夾下有四個文件夾和三個文本。

到本地Android Studio的安裝目錄(C:\Android\android-studio),備份「四個文件夾和三個文本」,而後刪除本來,複製新的過去。

打開,出現提示: This version of Android Studio may not work correctly without Android SDK Tool revision 22.6.2 or above. 

而後就按要求下載更高級版本的SDK吧。

相關文章
相關標籤/搜索