2017-07-27 32 views
-2

在Mac上,安裝了最新的Android Studio組件出現故障,並出現以下錯誤:的Android Studio組件安裝失敗在Mac

Preparing "Install Android Support Repository (revision: 47.0.0)". Downloading https://dl.google.com/android/repository/android_m2repository_r47.zip https://dl.google.com/android/repository/android_m2repository_r47.zip "Install Android Support Repository (revision: 47.0.0)" failed. Preparing "Install Google APIs Intel x86 Atom System Image (revision: 4)". Downloading https://dl.google.com/android/repository/sys-img/google_apis/x86-26_r04.zip https://dl.google.com/android/repository/sys-img/google_apis/x86-26_r04.zip "Install Google APIs Intel x86 Atom System Image (revision: 4)" failed.

java.io.IOException: Cannot download ' https://dl.google.com/android/repository/android_m2repository_r47.zip ': Read timed out , response: 200 OK Warning: An error occurred while preparing SDK package Android Support Repository: Cannot download ' https://dl.google.com/android/repository/android_m2repository_r47.zip ': Read timed out , response: 200 OK. java.io.IOException: Cannot download ' https://dl.google.com/android/repository/sys-img/google_apis/x86-26_r04.zip ': Read timed out , response: 200 OK Warning: An error occurred while preparing SDK package Google APIs Intel x86 Atom System Image: Cannot download ' https://dl.google.com/android/repository/sys-img/google_apis/x86-26_r04.zip ': Read timed out , response: 200 OK.

我不知道爲什麼會超時,因爲我在一個40MB的下拉連接。

我能做什麼?

注:這是一個新的Android下載Studio安裝,而不是升級或任何

+0

你可以自己下載的鏈接,並將其移動到SDK目錄 –

回答

0

日誌顯示你有某種網絡錯誤的。 如果你有一個彈出窗口,詢問是否允許Java的互聯網連接,你應該允許它

Read timed out , response: 200 OK Warning: An error occurred while preparing SDK package Android Support