Error:SSL peer shut down incorrectly

报错信息:

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 incorrectly)