Macaw
Macaw

Reputation: 405

How do I solve Running "flutter packages get"

Few Days ago, everything was running fine but suddenly I'm facing Flutter Packages Get Problem. Long time I've to wait after create the project. Please take a look and give me a solution :( Screenshot below

enter image description here

Upvotes: 1

Views: 3773

Answers (2)

Mohammed Mahmoud
Mohammed Mahmoud

Reputation: 1148

If you're in China or your IP address has been changed, try https://flutter.dev/community/china

Upvotes: 0

I think you might be facing the DNS problem. Could you please update your DNS setting like this and let me know if it works. Here is the solution =>

Find Your Internet Options > Go To Properties Of the ISP or Connected Device > Select Internet Protocol Version 4 (TCP/IPv4) and Click Properties > Use the following DNS server addresses >

Preferred DNS Server: 8.8.8.8
Alternate DNS Server: 8.8.4.4

Give it try. After you set this if you can visit pub.dartlang.or then you will get packages too. Thank you.

Upvotes: 3

Related Questions