gpt4 book ai didi

android工作室错误错误:Connection timed out

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:36:48 24 4
gpt4 key购买 nike

我只是在 android studio 中新建了一个项目,并向其中添加了 gcm 模块。
我一直给出这个错误信息

Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.      

而且我不使用任何代理。
谁能帮我解决这个问题?

更新
现在重建我的项目后我给出了这个错误

Error:A problem occurred configuring project ':app'.    
A problem occurred configuring project ':backend'.
Could not resolve all dependencies for configuration ':backend:classpath'.
Could not resolve com.google.appengine:gradle-appengine-plugin:1.9.18.
Required by:
PushStart:backend:unspecified
Could not resolve com.google.appengine:gradle-appengine-plugin:1.9.18.
Could not get resource 'https://jcenter.bintray.com/com/google/appengine/gradle-appengine-plugin/1.9.18/gradle-appengine-plugin-1.9.18.pom'.
Could not GET 'https://jcenter.bintray.com/com/google/appengine/gradle-appengine-plugin/1.9.18/gradle-appengine-plugin-1.9.18.pom'.
Connection to https://jcenter.bintray.com refused

最佳答案

只需尝试使缓存无效..转到文件->使缓存无效/重新启动->选择“无效并重新启动”。

关于android工作室错误错误:Connection timed out,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35667711/

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