gpt4 book ai didi

android - Gradle 'project name' 项目刷新失败,错误 : Connect timed out: conect

转载 作者:行者123 更新时间:2023-11-29 02:40:21 24 4
gpt4 key购买 nike

I already made changes in Settings ->HTTP Proxy-> Auto-detect proxy settings but not working. I have this problem after i am update my android studio to 2.3.3.

I already checked with old version of android studio but now it does not work.

当 Gradle 任务清理时:-

Error:A problem occurred configuring root project 'AllCartSearch'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.google.gms:google-services:3.0.0.
Required by:
project :
> Could not resolve com.google.gms:google-services:3.0.0.
> Could not get resource 'https://jcenter.bintray.com/com/google/gms/google-services/3.0.0/google-services-3.0.0.pom'.
> Could not GET 'https://jcenter.bintray.com/com/google/gms/google-services/3.0.0/google-services-3.0.0.pom'.
> Connect to jcenter.bintray.com:443 [jcenter.bintray.com/108.168.243.150] failed: Connection timed out: connect

这是 gradle 同步错误后的日志:-引起:org.gradle.internal.resource.transport.http.HttpRequestException:无法获取'https://jcenter.bintray.com/com/google/gms/google-services/3.0.0/google-services-3.0.0.pom '. 在 org.gradle.internal.resource.transport.http.HttpClientHelper.performRequest(HttpClientHelper.java:82)引起:java.net.ConnectException:连接超时:连接 在 org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337) 在 org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) ... 144 更多2017-06-20 15:57:53,574 [1049961] 警告 - nal.AbstractExternalSystemTask - 连接超时:连接com.intellij.openapi.externalSystem.model.ExternalSystemException:连接超时:连接 在 com.android.tools.idea.gradle.project.sync.idea.ProjectImportErrorHandler.getUserFriendlyError(ProjectImportErrorHandler.java:86)

最佳答案

我认为这个问题来自防病毒软件,特别是 Avast Antivirus,禁用它并重试。

关于android - Gradle 'project name' 项目刷新失败,错误 : Connect timed out: conect,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44651829/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com