Studio 更新的时候提示Connection failed (connect timed out). Please check network connection and try again.
如下图:
经百度后,明白要有以下操作:
修改$ANDROID_STUDIO_HOME/bin/ 下的 studio.exe.vmoptions(或者studio64.exe.vmoptions)
配置后追加如下:
-Djava.net.preferIPv4Stack=true
-Didea.updates.url=http://dl.google.com/android/studio/patches/updates.xml
-Didea.patches.url=http://dl.google.com/android/studio/patches/
如下图:
但是接下来就是让人纠结的问题了——配置好了之后,android studio还是与之前一样不能更新!
那就再百度吧!接着笔者发现是因为之前为了要让sdk更新而修改了系统的hosts文件,把hosts文件的内容改回来就可以更新了。那就再试一下吧:
接着再试一下就可以更新了:
Studio 更新的时候提示Connection failed (connect timed out). Please check network connection and try again.相关推荐
- Connect to repo.maven.apache.org:443 [repo.maven.apache.org/151.101.24.215] failed: connect timed ou
IDEA中Maven配置解决 在这个路径下找到 JetBrains\IntelliJ IDEA 2019.1\plugins\maven\lib\maven3\conf settings.xml文件, ...
- CNdeepdive 安装报错:deepdive Failed connect to raw.githubusercontent.com:443; Connection refused
CNdeepdive 安装报错:deepdive Failed connect to raw.githubusercontent.com:443; Connection refused 问题描述: 问 ...
- ssh: connect to host XXX port 22: Connection timed out的问题
在Mac电脑主机下登录VMware centos7 linux失败, 主机终端输入:ssh root@xxx.xx.xx 提示:ssh: connect to host XXX port 22: Co ...
- ssh:connect to host xxx port 22: Connection refused---------you don‘t have permission to acccess the
在自己的Ubuntu电脑上,用ssh连接xavier NX板子的时候,突然出现了连接不上的情况,提示you don't have permission to acccess the requested ...
- 关于“Connection refused: connect”错误
错误描述 2021-01-31 17:26:41.991 WARN 12644 --- [nio-8080-exec-3] c.c.c.ConfigServicePropertySourceLocat ...
- httpclient connect timed out
日志中存在大量的连接超时内容: errorMsg=Connect to api.10646.cn:443 [api.10646.cn/122.97.213.18] failed: connect ti ...
- Xshell 连接本地的Linux 系统,提示:Could not connect to '192.168.182.128' (port 23): Connection failed
--------- Xshell 连接本地的Linux 系统,提示:Could not connect to '192.168.182.128' (port 23): Connection faile ...
- Mac android studio升级时提示 :Connection failed. Please check your network connection .
1>>Mac 下Android Studio check update 2>>之后会出现 Connection failed. Please check your netwo ...
- 关于解决Could not connect to 'xx.xx.xx.xx' (port 22): Connection failed.的经历
关于解决Could not connect to 'xx.xx.xx.xx' (port 22): Connection failed.的经历](这里写自定义目录标题) 关于在学习django过程中遇 ...
最新文章
- [CTO札记]惊讶于警察尚未用LBS(手机定位服务)来追踪疑犯
- [bzoj2055]80人环游世界[网络流,上下界网络流]
- 什么是async、await?
- 流媒体开发之开源项目live555---live555 server 编译 包括更改帧率大小
- 几个免费高质量图标搜索引擎。
- OC中使用 static 、 extern、 const使用
- python基础-super
- php+fpm+apache
- 如何用Camtasia给视频添加马赛克?
- 复印机扫描显示服务器链接错误代码,如何开启扫描失败后显示网络错误代码
- 算术右移与逻辑右移的区别
- 制作属于自己的QQ机器人,超详细
- visual studio code远程连接服务器
- Filament介绍
- 2020京东春招笔试题目
- c#教程之通过数据绑定修改数据
- 【译】第十篇 Integration Services:高级事件行为
- Photoshop中怎么把白色背景改为黑色背景
- MDI Jade的基本使用方法
- 【Github Solution】github加速方法 [亲测最方便的两种]