Android编译时报错:Error:Connection timed out: connect. If you are behind an HTTP proxy, please......
16lz
2021-01-26
编写不易,如有转载,请声明出处: 梦回河口:http://blog.csdn.net/zxc514257857/article/details/72783168
报错全称为:
Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
原因为:
AndroidStudio在下载gradle文件时下载失败
解决方法:
同:AndroidStudio导入他人项目时,卡在Building ‘xxx’ gradle project info位置不动 http://blog.csdn.net/zxc514257857/article/details/57619554
另:检查自己电脑的防火墙是否打开,防火墙若打开建议关闭防火墙
----------因本人才疏学浅,如博客或Demo中有错误的地方请大家随意指出,与大家一起讨论,共同进步,谢谢!----------
更多相关文章
- android WebView在应用内打开网页的问题
- 安卓系统修改host文件简单教程
- Mac电脑 android studio真机调试操作步骤
- Android菜鸟日记25-android反编译
- Android(安卓)-- 分享功能和打开指定程序
- Android的开发环境搭建及新建工程
- Android(安卓)Studio Build Output 栏内汉字出现乱码的解决方案
- Android(安卓)sdk manager无法更新问题,使用代理下载
- android studio 连接真机测试 小米8