Execution failed for task ‘:app:lintVitalRelease’.
Could not resolve all files for configuration ‘:app:lintClassPath’.
Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.12)
Could not get resource ‘https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar’.
> Could not GET 'https://jcenter.bintray.com/org/codehaus/groovy/groovy-all/2.4.12/groovy-all-2.4.12.jar'.
> Remote host closed connection during handshake
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Get more help at https://help.gradle.org
解决办法
- 由于网络的原因 ,切换不通的Wi-Fi连接https服务下载jar包。
本文详细描述了在使用Gradle构建项目时遇到的groovy-all.jar文件下载失败的问题,该问题源于网络连接不稳定导致的资源无法获取。文章提供了尝试更换不同Wi-Fi连接以解决此问题的方法。
1186

被折叠的 条评论
为什么被折叠?



