解決下載Android Build-tools 19.1.0失敗

來源:互聯網
上載者:User

標籤:android

準備從Eclipse轉到Android Studio了。今天嘗試Android Studio的時候,被它提醒我SDK的Android Build-tools版本過低,需要升級。
於是開啟Android SDK Manager,它順利地幫我找到了Android SDK Build-tools的19.1版本,但是下載的時候卻死活下載不了——Android SDK Manager在國內一向不穩定,時好時壞,而且今天在我已經搭了梯子的情況下依舊下載不了。
無奈,只得手動下載,但是找了一圈,居然沒找到Google官方的下載連結,在http://developer.android.com/sdk/index.html上只找到了Android tools跟IDE的下載連結。

好吧,下面是手動分析找下載連結的過程:


↑這個是Android SDK Manager的管理介面,然後查看它的日誌↓:

發現SDK的列表是從一個xml中解析的: https://dl-ssl.google.com/android/repository/repository-8.xml
OK,然後用瀏覽器開啟這個地址:
xml檔案果然就是這些SDK列表的資訊,然後尋找我所需要的Android SDK Build-tools 19.1,Duang~ 看到了一個叫做sdk:url的節點:

顯示url是build-tools_r19.1-macosx.zip。再然後,通過嘗試,發現完整的url是https://dl-ssl.google.com/android/repository/build-tools_r19.1-macosx.zip——直接存取,就下載到了這個build-tools_r19.1-macosx.zipzip包了,然後丟到本地sdk的build-tools目錄下,biu~ 搞定!

本文同步在這裡發表。

解決下載Android Build-tools 19.1.0失敗

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.