Skip to content

Could not resolve URL "https://pub.dartlang.org". #2217

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

Closed
AhmedAlaa96 opened this issue Sep 30, 2019 · 6 comments
Closed

Could not resolve URL "https://pub.dartlang.org". #2217

AhmedAlaa96 opened this issue Sep 30, 2019 · 6 comments

Comments

@AhmedAlaa96
Copy link

I can't download lib in pubspec.yaml

I tried to run flutter pub get and get this error

Could not resolve URL "https://pub.dartlang.org".
Error (69): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

2
when I try check connection because I have a manual proxy get connectio9n successful
1
I deactivate my firewall and windows defender protection but nothing happend

@jonasfj
Copy link
Member

jonasfj commented Sep 30, 2019

https://dart.dev/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall

I don't think this works with proxy from Android Studio.
That might be a bug worth filing against the Android studio plugin for Flutter/Dart

@AhmedAlaa96
Copy link
Author

@jonasfj That's work for me thank you

@jonasfj
Copy link
Member

jonasfj commented Oct 1, 2019

This is already filed in flutter/flutter-intellij#2914

@string-MFathi
Copy link

Just check if your are connected to internet and run again

@leah25
Copy link

leah25 commented May 14, 2020

@string-MFathi yes that worked for me. Thank you

@ghost
Copy link

ghost commented Jun 26, 2020

https://dart.dev/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall

I don't think this works with proxy from Android Studio.
That might be a bug worth filing against the Android studio plugin for Flutter/Dart

really helped thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants