Whenever i try to create a new project in flutter through git bash or command prompt, i keep on getting this error Got socket error trying to find package cupertino_icons at https://pub.dartlang.org.
I have upgraded the flutter sdk to the latest version but still the same problem. Please how do i solve this issue. Thanks
I would advice anyone that might still be having this problem to TRY the following simply steps:
This did it for me. After spending weeks tryna figure it out. Would love to save someone the headache i went through.
Spent 2 hours on it myself, in addition to the previous settings, check your antivirus, mine automatically blocked flutter, so disable your antivirus completely it and then try running again, hope this helps someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With