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

Created on 30 Sep 2019  路  6Comments  路  Source: dart-lang/pub

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

Most helpful comment

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

All 6 comments

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

@jonasfj That's work for me thank you

Just check if your are connected to internet and run again

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kevmoo picture kevmoo  路  53Comments

DartBot picture DartBot  路  72Comments

devoncarew picture devoncarew  路  30Comments

JSanford42 picture JSanford42  路  21Comments

wh120 picture wh120  路  24Comments