1

我安装了 Android SDK。当我运行它时,我只能看到 Andriod 4.2.2 (API 17)。

为什么我看不到所有 API 选项?(例如 API 11、12、13、14)

我需要安装其他东西吗?

这是 SDK 管理器日志:

Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Fetching URL: http://dl-ssl.google.com/android/eclipse/addon.xml
Done loading packages.
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-2.xml, reason: Unknown Host dl-ssl.google.com
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-7.xml, reason: IO Unknown Host dl-ssl.google.com
Fetching URL: http://dl-ssl.google.com/android/eclipse/addon.xml
Failed to fetch URL http://dl-ssl.google.com/android/eclipse/addon.xml, reason: IO Unknown Host dl-ssl.google.com
Done loading packages.
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-7.xml, reason: IO Unknown Host dl-ssl.google.com
Fetching URL: http://dl-ssl.google.com/android/eclipse/addon.xml
Failed to fetch URL http://dl-ssl.google.com/android/eclipse/addon.xml, reason: IO Unknown Host dl-ssl.google.com
Done loading packages.
Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-7.xml, reason: IO Unknown Host dl-ssl.google.com
Fetching URL: http://dl-ssl.google.com/android/eclipse/addon.xml
Failed to fetch URL http://dl-ssl.google.com/android/eclipse/addon.xml, reason: IO Unknown Host dl-ssl.google.com
Done loading packages.
4

1 回答 1

1
  1. 打开你的 SDK 管理器。

  2. 点击左上角的“包”。

  3. 单击“显示更新/新包

  4. 您应该会看到 Android 版本列表。单击您想要的,然后单击右下角的“安装 X 包”。

x 是文件的计数器。

于 2013-04-02T14:58:34.457 回答