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

Android Studio安装Flutter时卡在‘Unzipping Dart SDK’求助

Fix for Flutter SDK Installation Stuck at "Unzipping Dart SDK"

Hey there, I’ve dealt with this exact frustrating issue before—waiting hours for an install to move forward is the worst! Let’s go through actionable fixes to get you past this hang:

  • Skip the automatic install and set up Flutter SDK manually
    This is the most reliable fix I’ve found.

    1. Grab the Flutter SDK zip file for your operating system from the official Flutter download page.
    2. Unzip it to a permanent location on your machine—something like ~/development/flutter (Mac/Linux) or C:\development\flutter (Windows) works well.
    3. Head back to Android Studio, start creating a new Flutter project, and when prompted for the Flutter SDK path, select "Existing SDK" and point it to the folder you just unzipped.
  • Troubleshoot your network connection
    More often than not, the hang happens because the download gets interrupted by a spotty network or proxy/firewall restrictions:

    • Switch to a stable, wired internet connection if you’re on Wi-Fi.
    • Check if your firewall or antivirus is blocking Android Studio’s download requests—temporarily disable them to test if that’s the issue.
    • If you use a proxy, make sure Android Studio has the correct proxy settings configured (go to File > Settings > Appearance & Behavior > System Settings > HTTP Proxy to verify).
  • Clear Android Studio’s cache and restart
    Corrupted cache can sometimes mess with the installation process:

    1. In Android Studio, go to File > Invalidate Caches...
    2. Select "Invalidate and Restart" from the popup.
    3. Once the IDE restarts, try initiating the Flutter SDK install again.
  • Manually unzip the partially downloaded Dart SDK
    If the auto-install already downloaded the Dart SDK zip but got stuck unzipping:

    1. Locate the temporary download folder:
      • Mac/Linux: ~/.cache/flutter_tool
      • Windows: C:\Users\<YourUsername>\.cache\flutter_tool
    2. Find the Dart SDK zip file in that folder (it’ll look something like dart-sdk-<version>-<os>.zip).
    3. Manually unzip it into the dart-sdk subfolder inside your Flutter SDK directory (replace any existing files if prompted).
    4. Restart Android Studio and try creating your project again.

内容的提问来源于stack exchange,提问作者Isaac Akindipe

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.28 09:24:31