Не удалось установить Android SDK - PullRequest
4 голосов
/ 23 декабря 2011

Я новичок в Android, и я пытаюсь скачать Android SDK в Windows XP. Я за прокси

При установке SDK я получаю эту ошибку

Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to https://dl-ssl.google.com refused Fetched Add-ons List successfully Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: Connection to https://dl-ssl.google.com refused

По поиску, я получил следующие 2 решения для этого.

1) Установить прокси на Android SDK manager 2) Принудительное http, а не https.

Что я должен сделать, чтобы продолжить. Любая помощь будет оценена.

РЕШЕНИЕ

Мы можем установить прокси в менеджере SDK. в Инструменты -> Параметры.

Там я установил прокси и порт, как показано в веб-браузере (Internet Explorer / Firefiox)

это работает. !

Ответы [ 2 ]

1 голос
/ 04 июня 2012

Мы можем установить прокси в менеджере SDK. В Инструменты -> Параметры.

Там я установил прокси и порт, как показано в веб-браузере (Internet Explorer / Firefiox)

Работает!

0 голосов
/ 28 мая 2012

Исследуя это на моем новом ПК с Win 7, я обнаружил, что мой плагин ADT отсутствует.Добавив это, я решил проблему: Загрузка плагина ADT

Используйте функцию диспетчера обновлений вашей установки Eclipse, чтобы установить последнюю версию ADT на компьютере разработчика.

Предполагая, что у вас естьсовместимая версия установленной Eclipse IDE, как описано выше в разделе «Подготовка к установке», выполните следующие действия, чтобы загрузить подключаемый модуль ADT и установить его в своей среде Eclipse.

Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:

https://dl-ssl.google.com/android/eclipse/

Click OK

Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.

Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
...