【发布时间】:2021-07-13 14:46:13
【问题描述】:
使用 AWS CodeBuild 构建 Android 失败并出现以下错误:
Execution failed for task ':app:lintVitalRelease'.
> Could not resolve all files for configuration ':app:lintClassPath'.
> Could not download groovy-all-2.4.15.jar (org.codehaus.groovy:groovy-all:2.4.15)
> Could not get resource 'https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-all/2.4.15/groovy-all-2.4.15.jar'.
> Connection reset
构建在我的本地机器上运行良好。上述错误仅在尝试使用 AWS CodeBuild 构建 apk 时发生。
如果这与jcenter shutdown有关,如何解决?
【问题讨论】:
标签: android react-native groovy pipeline aws-codebuild