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()
    }
}
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,243评论 19 139
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,789评论 2 45
  • “小丽,我知道这是我们的私心,不过求求你,求求你留下这个孩子吧,这是我们刘家唯一的血脉,你帮我们留下,好不好,好不...
    开颜棠棠阅读 1,225评论 0 0

友情链接更多精彩内容