Connection terminated during handshake flutter

前端 未结 4 2005
天命终不由人
天命终不由人 2020-12-11 22:52

It\'s really frustrating, wasted 3 days to get rid of but still on stuck problem showing on macos catalina version 10.15.1 and windows 7 also. My two PC\'s showing same erro

相关标签:
4条回答
  • 2020-12-11 23:25

    Use VPN. Or download package from github.

    dependencies:
      flutter:
        sdk: flutter
    
      carousel_pro:
        git:
          url: git://github.com/jlouage/flutter-carousel-pro.git
          ref: master
    

    detailed answer is here:

    0 讨论(0)
  • 2020-12-11 23:33

    This is a country-specific problem. In some countries, you got this error like Bangladesh and some African countries. I got a solution to this problem, that is use VPN software when you want to get Packages. VPN software uses other country's IP addresses where this google service works perfectly, So you can easily download packages.

    0 讨论(0)
  • 2020-12-11 23:39

    Use vpn. If you are not using not prepackaged packages: stop the process with "ctrl + c" and try it on project location:

    flutter pub get --offline

    0 讨论(0)
  • 2020-12-11 23:46

    Fixed the issue, my Local Isp blocked pub.dartlang.org that's why it happens.

    0 讨论(0)
提交回复
热议问题