You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android Studio无法下载所需组件,点击后提示ERROR:time out求助

Fixing Android Studio Component Download Timeout Errors

Hey there, I’ve dealt with this exact frustrating issue before, so I know how annoying it is when you’re stuck trying to get Android Studio set up. Let’s walk through some tried-and-true fixes to get those components downloading smoothly:

1. Switch to a Reliable Mirror Server

The default Android Studio servers can be slow or unstable in certain regions. Swapping to a domestic mirror (like the Tsinghua University mirror) often fixes timeout issues:

  • Open Android Studio, navigate to File > Settings > Appearance & Behavior > System Settings > HTTP Proxy
  • Choose Manual proxy configuration, then enter the mirror URL: https://mirrors.tuna.tsinghua.edu.cn/android/repository/
  • Hit Apply, restart Android Studio, and retry the component download.

2. Increase the Download Timeout Limit

Sometimes the default timeout window is too short for large components. Let’s extend it:

  • Go to File > Settings > Appearance & Behavior > System Settings > Updates
  • Locate the Timeout field (measured in seconds) and bump it up to 300 (5 minutes) or even 600 (10 minutes)
  • Save your changes and try downloading again.

3. Manually Download & Install Components

If auto-download keeps failing, take matters into your own hands:

  • When the timeout error pops up, note the exact component name and its download URL (you can find this in the error log or component details screen)
  • Use a browser or dedicated download manager to grab the component file (these tools handle unstable connections better)
  • Open Android Studio’s SDK Manager, find the component you downloaded, click Edit, then select Install from disk and pick the downloaded file.

4. Troubleshoot Your Network Connection

  • Switch to a wired connection if you’re on unstable Wi-Fi—wired connections are far less prone to dropouts.
  • Temporarily disable any VPN or proxy that might be interfering with access to Android Studio’s servers.
  • Check if your firewall or antivirus is blocking the download: turn them off temporarily to test, then re-enable once the components are installed.

5. Clear Android Studio’s Cache

Corrupted cache can sometimes mess with downloads. Here’s how to fix it:

  • Close Android Studio completely
  • Navigate to the cache directory based on your OS:
    • Windows: C:\Users\<YourUsername>\.AndroidStudio<Version>\system\caches
    • macOS: ~/Library/Caches/Google/AndroidStudio<Version>
    • Linux: ~/.cache/Google/AndroidStudio<Version>
  • Delete all files in this folder, restart Android Studio, and try the download again.

Give these steps a shot—one of them should resolve the timeout issue for you.

内容的提问来源于stack exchange,提问作者Rk Prateek

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 08:23:38