美文网首页
Error:SSL peer shut down incorre

Error:SSL peer shut down incorre

作者: cocoaroger | 来源:发表于2017-12-26 10:43 被阅读1003次

    报错信息:

    Error:A problem occurred configuring project ':app'.
    > Failed to notify project evaluation listener.
       > Could not resolve all dependencies for configuration ':app:_signnedDebugApk'.
          > A problem occurred configuring project ':circle'.
             > Could not resolve all dependencies for configuration ':circle:_debugPublish'.
                > A problem occurred configuring project ':common'.
                   > Could not resolve all dependencies for configuration ':common:_debugPublish'.
                      > A problem occurred configuring project ':ptr'.
                         > Could not resolve all dependencies for configuration ':ptr:_debugPublish'.
                            > Could not determine artifacts for com.android.support:support-core-utils:25.4.0
                               > Could not get resource 'https://maven.google.com/com/android/support/support-core-utils/25.4.0/support-core-utils-25.4.0.aar'.
                                  > Could not HEAD 'https://maven.google.com/com/android/support/support-core-utils/25.4.0/support-core-utils-25.4.0.aar'.
                                     > Remote host closed connection during handshake
       > Must apply 'com.android.application' first!
    

    解决方法:将 maven {url "https://maven.google.com"} 换成 google();

    allprojects {
        repositories {
          //maven {
         //      url "https://maven.google.com"
         //}
          google()
        }
    }
    

    相关文章

      网友评论

          本文标题:Error:SSL peer shut down incorre

          本文链接:https://www.haomeiwen.com/subject/ttydgxtx.html