我有一个错误,当我在我的CI的gradle初始化(I have an error when i in

2019-10-29 14:49发布

我做了一个CI与Gitlab一扑应用程序,我有一个错误,当我的gradle初始化。

错误:

$ flutter packages get
Running "flutter packages get" in codingroomevents...               8.5s
$ flutter build apk --release
Initializing gradle...                                          
ProcessException: Process         "/builds/user/codingroomevents/android/gradlew" exited abnormally:
Downloading https://services.gradle.org/distributions/gradle-4.10.2-all.zip


Exception in thread "main" java.net.SocketException: Network is unreachable     (connect failed)

提前致谢。

文章来源: I have an error when i initialize gradle on my CI