Flutter: Connect to storage.googleapis.com:443

发表于:2020-07-23

在跑 Android 时提示如下:

Connect to storage.googleapis.com:443 [storage.googleapis.com/172.217.160.112, storage.googleapis.com/172.217.160.80, storage.googleapis.com/216.58.200.240, storage.googleapis.com/172.217.27.144, storage.googleapis.com/216.58.200.48] failed: connect timed out

这一看就知道是墙的问题, 也懒得开代理了。

解决办法修改 fluuter sdk packages/flutter_tools/gradle/resolve_dependencies.gradle

直接打开 fluuter 仓库吧。

https://github.com/flutter/flutter/blob/449f4a6673f6d89609b078eb2b595dee62fd1c79/packages/flutter_tools/gradle/resolve_dependencies.gradle#L21

Flutter
原创文章,转载请注明出处。