我是Android开发的新手,我在设置android studio时遇到了这个问题,当它下载文件时,访问android支持存储库时会引发错误。重试且永不继续时会给我错误。
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/android_m2repository_r47.zip': Connection closed at byte 230947104. Expected 355529608 bytes.
, 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': Connection closed at byte 230947104. Expected 355529608 bytes.
, response: 200 OK.