AndroidStudio升级报错:Connection failed (connect timed out). Please check network connection and try ...
来源:互联网 发布:json代码格式化工具 编辑:程序博客网 时间:2024/05/16 15:05
编写不易,如有转载,请声明出处: 梦回河口:http://blog.csdn.net/zxc514257857/article/details/77842512
报错内容
Connection failed (connect timed out). Please check network connection and try again.
报错原因
连接服务器超时,请检查网络链接并重试。断网、防火墙等情况不在考虑之列,查找资料后发现有可能是studio64.exe.vmoptions文件的配置问题。
解决方法
在AndroidStudio的bin目录中找到studio.exe.vmoptions(32位系统)或者studio64.exe.vmoptions(64位系统),在后面追加如下代码:
-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/
本来想插入一张添加时的图片,但更新成功后这三段代码消失了
蛋疼的是改完之后还是不能更新,在解决期间我重启了AndroidStudio,重启了电脑,然后点击升级,前前后后花了几个小时,终于在快下班之前点击了一次,显示可以升级了!
———-因本人才疏学浅,如博客或Demo中有错误的地方请大家随意指出,与大家一起讨论,共同进步,谢谢!———-
阅读全文
0 0
- AndroidStudio升级报错:Connection failed (connect timed out). Please check network connection and try ...
- Connection failed(connect timed out).Please check network connection and try again
- Studio 更新的时候提示Connection failed (connect timed out). Please check network connection and try again.
- android studio升级时提示 Connection failed. Please check your network connection and try again
- Mac OS中, android stuido升级提示Connection failed. Please check your network connection and try again
- Android Studio:Connection failed. Please check your network connection and try again
- Android Studio更新错误 Connection failed. Please check your network connection and try again
- AndroidStudio项目报错Error:Connection timed out: connect. If you are behind an HTTP proxy, please config
- Android Studio升级提示 Connection failed. Please check your network ...
- 编译报错Error:Connection timed out: connect. If you are behind an HTTP proxy, please
- Network error IOException: Connection timed out: connect
- Connection timed out: connect
- Connection timed out: connect
- Connection timed out: connect
- AndroidStudio解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please configu
- Mac android studio升级时提示 :Connection failed. Please check your network connection .
- Gradle升级,Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure
- connection.getOutputStream() 报java.net.ConnectException: Connection timed out: connect
- 面试题:用三种方法模拟实现strlen函数
- loadrunner Web_类函数之web_add_auto_filter()
- JDBC 实效数据分页查询
- duilib消息机制
- java模式—装饰者模式
- AndroidStudio升级报错:Connection failed (connect timed out). Please check network connection and try ...
- Python操作Neo4j的基本操作
- JQuery制作文字置顶、置底与上下移动及全选反选
- JavaScript总结
- c++基础之指针与数组
- SWT/JFace 中常用的事件
- javaweb异常处理
- pat 乙级 1020 吃月饼(25)
- 神经网络与深度学习(7)