Remote host closed connection during handshake

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

解决办法

  1. 由于网络的原因 ,切换不通的Wi-Fi连接https服务下载jar包。

你可能感兴趣的:(Build)