我是颤振的新手。我们在网络中设置了代理。该代理已经应用于android studio并且运行良好。创建新应用程序时,它运行良好。但是,获取包不起作用。它返回
Could not resolve URL "https://pub.dartlang.org".
pub get failed (69) -- attempting retry 1 in 1 second...'
set https_proxy=USERNAME:PASSWORD@hostname:port' I tried this code. Even though it is not working
获取包不起作用
您需要在 Flutter 文件夹和项目文件夹上运行以下两行:
set https_proxy=USERNAME:PASSWORD@hostname:port
set http_proxy=USERNAME:PASSWORD@hostname:port
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)