Error:Connection timed out: connect
1、打开项目build.gradle,找到
dependencies {classpath 'com.android.tools.build:gradle:3.0.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }
修改版本号为当前安装的版本号,
可以新建一个demo ,就可以看到当前版本号
2、找到gradle下面
gradle-wrapper.properties文件,打开
#Wed Jun 27 15:29:15 CST 2018 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
修改版本号为当前版本号,
可以新建一个demo ,就可以看到当前版本号
3、Rebuild Project
Error:Connection timed out: connect相关推荐
- 【错误记录】Android Studio 编译报错 ( Error:Connection timed out: connect | 更新配置依赖仓库方式 )
文章目录 一.报错信息 二.解决方案 一.报错信息 编译 VirtualAppEx 源码时 , 报如下错误 : Gradle 'VirtualAppEx-master' project refresh ...
- Android Studio Error:Connection timed out: connect.解决方案
Android Studio Error:Connection timed out: connect.解决方案 参考文章: (1)Android Studio Error:Connection tim ...
- Gradle ‘Android‘ project refresh failed Error:Connection timed out: connect
Gradle 'Android' project refresh failed Error:Connection timed out: connect 解决办法: 工程下的gradle里面的jcent ...
- 安卓AS时关于ERROR: Connection timed out: connect的解决方法:(自我总结,不足之处请见谅)
ERROR: Connection timed out: connect:错误:连接超时:连接 这个错误 一般来说是因为.gradle引起的 (1).gradle下载的不全 (2)网络原因<10 ...
- 热拉显示服务器端口错误,打开端口 50,000 上服务器 /192.168.1.100 的套接字时出错,消息为:Connection timed out: connect。 ERROR解决办法...
打开端口 50,000 上服务器 /192.168.1.100 的套接字时出错,消息为:Connection timed out: connect. ERROR解决办法 打开端口 50,000 上服务 ...
- 项目的ip地址更改,用git从远程提取代码出现错误,提示为 network error connection timed out...
昨天公司的ip进行了修改,在今天从远程提取代码的过程中提示network error connection timed out错误,从网上看了一下解决方法 1:打开项目文件夹,点击查看 2:勾选隐藏的 ...
- 已解决:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings ...
- Connect to maven.google.com:443 [maven.google.com] failed: Connection timed out: connect 解决办法
当 build.gradle进行上述配置的话,总会出现如下情况: Could not resolve all artifacts for configuration ':classpath'. ...
- dbeaver的连接超时(Connection timed out: connect)
项目场景: hiveserver2启动了, 虚拟机 里能启动beeline,并且能连接hive2, 但是就是连接不了win上的dbeaver 问题描述: Could not open client t ...
最新文章
- Linux系统调用--getrlimit()与setrlimit()函数详解【转】
- rdf(资源描述框架)
- ExtJS4 API文档阅读(四)——Data
- 2018年大数据趋势
- hive kerberos java_Kerberos身份验证错误 - Sqoop通过Hive从SQL导入HDFS
- leetcode516 最长回文子序列
- Mysql 学习之 SQL的执行顺序
- leetcode刷题笔记(3)(python)
- html链接抓取,【SEO工具】网页超链接提取工具(无语网站链接抓取器)
- 一个 C盘搬家 方式.Chrome搬家到D盘
- 何凯明———去雾算法论文阅读记录
- windows server2008r2 管理员身份
- php怎么做地图源代码,php直播源码百度地图坐标拾取系统自定义页面
- 计算机浏览器无法上网怎么办,电脑有网络,但是浏览器不能上网怎么办
- 左偏树初步学习 洛谷P3377
- Excel中 VLOOKUP 函数的使用
- Computer Transformation UVA - 1647
- vue中自定义组件“ directives “的常用功能
- 2020计算机数电实验第四次(2)
- 服务器系统盘大文件检测指令,服务器系统盘大文件检测指令
热门文章
- [vue] $nextTick有什么作用?
- [js] promise的构造函数是同步执行还是异步执行,它的then方法呢?
- 前端学习(2814):小程序学习之建立第一个项目
- 前端学习(2152):Vue的template和el的关系
- 前端学习(585):查看和编辑css
- 前端学习(169):无语义元素
- 第二十一期:老大难的GC原理及调优,这全说清楚了
- 玩转oracle 11g(47):oracle删除非空表空间
- 云服务器开启TCP Server 客户端无法连接的解决方法
- oracle 主键列创建自增长,powerdesigner创建oracle 数据库表,设置表主键列为自动增长。 ....