Flutter app behind corporate firewall throws TLS error during packages get

后端 未结 4 1941
Happy的楠姐
Happy的楠姐 2021-01-01 02:38

Recently have installed Flutter and exploring hello-world app. Followed all steps mentioned at https://flutter.io/get-started/ and was able to run

:: flutt

4条回答
  •  自闭症患者
    2021-01-01 03:23

    I had the same issue. I am working in a company and I had to use https_proxy env variable to get connection.

    Open cmd on Windows

    set https_proxy=USERNAME:PASSWORD@hostname:port

    flutter create

    flutter run

    flutter packages get

    This worked for me, hope it helps!

提交回复
热议问题