2

I have been developing Flutter application with Android studio. but all of a sudden I am stuck with a strange issue which i cant solve . I cant run the application in anyway. it just shows:

Running "flutter pub get" in my_payment...                      
   Connection terminated during handshake

   pub get failed (server unavailable) -- attempting retry 1 in 1 second...

   Connection terminated during handshake

   pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...

I tried to restart my android studio/pc and the router as well but with no luck. My flutter doctor reports are all ok can anybody please help me to sort it out?

Enayet Hossain
  • 187
  • 1
  • 4
  • 14

1 Answers1

2

Your company/ISP/country blocking pub.dev
Use VPN VPN - lets you to visit pub.dev with other coutry's IP.

Kerim Amanov
  • 213
  • 3
  • 14