安装Android-studio时java错误发生在中期 我在Ubuntu 14.04中安装Android-studio
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/sdk-tools-linux-3952940.zip': Read timed out
, response: 200 OK
Warning: An error occurred while preparing SDK package Android SDK Tools: Cannot download 'https://dl.google.com/android/repository/sdk-tools-linux-3952940.zip': Read timed out
, response: 200 OK.
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/emulator-linux-3965150.zip': Read timed out
, response: 200 OK
Warning: An error occurred while preparing SDK package Android Emulator: Cannot download 'https://dl.google.com/android/repository/emulator-linux-3965150.zip': Read timed out
, response: 200 OK.
java.io.IOException: Cannot download 'https://dl.google.com/android/repository/build-tools_r25.0.3-linux.zip': SSL peer shut down incorrectly
, response: 200 OK
Warning: An error occurred while preparing SDK package Android SDK Build-Tools 25.0.3: Cannot download 'https://dl.google.com/android/repository/build-tools_r25.0.3-linux.zip': SSL peer shut down incorrectly
, response: 200 OK.
答案 0 :(得分:0)
确保SDK文件夹具有正确的权限(由您拥有而不是root。) 否则,您可以将安装分区更改为您有权访问的分区。