-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why flutter downloads dart sdk when I already have it installed #2055
Comments
We do this mainly to ensure we have a compatible version. |
makes sense since it is in active development, you could add a check in system path's in future. |
I have unstable internet connection and git severs are so slow sometimes, so i should download zip files to prevent my downloads interruption. Flutter doctor downloads again each time , even when i downloaded and installed the exact SDK version as flutter doctor wants to download... It's really terrible , please open this issue again and think a solution for us . |
Flutter commonly uses development versions of the Dart toolchain which can sometimes be tightly coupled with the Flutter SDK.
We definitely could build our own copy of the Dart toolchain and have it be much smaller than the ones offered through dart-lang.org. We might already even be doing that? @aam would know. |
Few more details on this: since flutter/engine#3972 Flutter needs two dart sdks:
|
Checking Dart SDK version...
Error: Unable to update Dart SDK. Retrying... Waiting for 0 seconds, press CTRL+C to quit ...
Error: Unable to update Dart SDK. Retrying... Waiting for 0 seconds, press CTRL+C to quit ...
Error: Unable to update Dart SDK. Retrying... Waiting for 0 seconds, press CTRL+C to quit ...
Error: Unable to update Dart SDK. Retrying... Waiting for 0 seconds, press CTRL+C to quit ...
Error: Unable to update Dart SDK. Retrying... Waiting for 0 seconds, press CTRL+C to quit ...
Error: Unable to update Dart SDK. Retrying... Waiting for 4294967295 press CTRL+C to quit ...
Error: Unable to update Dart SDK. Retrying... Waiting for 0 seconds, press CTRL+C to quit ...
Error: Unable to update Dart SDK. Retrying... Waiting for 3 seconds, press CTRL+C to quit ... when running flutter.bat |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I already have dart installed from aur, why is it downloading it again? Just use the system path to find already installed one and build itself.
Steps to Reproduce
Flutter Version
Dart version (installed from aur)
Dart VM version: 1.14.2 (Tue Feb 9 15:09:45 2016) on "linux_x64"
The text was updated successfully, but these errors were encountered: