Connection reset
版权声明:本文为延成原创文章,转载请标明出处
问题复
Connection reset
在Android Studio中打开新的项目或引用在线jar时出现
问题解决
因为android studio无法下载外网的jar,可以用阿里代理的maven仓库,在build.gradle中进行修改。
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {repositories {//方式一maven{ url 'https://maven.aliyun.com/repository/google'}maven{ url 'https://maven.aliyun.com/repository/jcenter'}//方式二maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}}dependencies {classpath 'com.android.tools.build:gradle:3.5.3'// NOTE: Do not place your application dependencies here; they belong// in the individual module build.gradle files}
}
allprojects {repositories {//方式一maven{ url 'https://maven.aliyun.com/repository/google'}maven{ url 'https://maven.aliyun.com/repository/jcenter'}//方式二maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}}
}
task clean(type: Delete) {delete rootProject.buildDir
}
修改完后按快捷键ctrl+F9 同步下项目就ok了
Connection reset相关推荐
- Tomcat:Connection reset by peer: socket write error
Connection reset by peer: socket write error错误分析及解决 Connection reset by peer: socket write error错误分析 ...
- gradle build connection reset or protocol_version build failure
为什么80%的码农都做不了架构师?>>> gradle build connection reset or protocol_version build failure Mav ...
- connection reset by peer问题总结及解决方案
找遍了 中英文网站,翻遍了能找的角落,发现了出现故障的原因和原理,及改如何处理,这里记录下,希望能帮助到有需要的小伙伴,少走点弯路, 以上就整理内容: connection reset by peer ...
- IO异常 java.net.SocketException: Connection reset
IO异常 java.net.SocketException: Connection reset 参考文章: (1)IO异常 java.net.SocketException: Connection r ...
- Socket java.net.SocketException: Connection reset的解决方案
Socket java.net.SocketException: Connection reset的解决方案 参考文章: (1)Socket java.net.SocketException: Con ...
- Connection reset by peer原理解析
"Connection reset by peer"代表什么? "Connection reset by peer"表示当前服务器接受到了通信对端发送的TCP ...
- 【Nignx】 nginx启动http服务,报错 curl: (56) Recv failure: Connection reset by peer
背景 docker 启动的nginx 服务,容器内端口80,映射到容器外8080,通过 curl -L -I http://xxxx:8080 报错 curl: (56) Recv failure: ...
- fatal: unable to access ‘‘: TCP connection reset by peer
fatal: unable to access '': TCP connection reset by peer 3.20有用按照 只对github.com git config --global h ...
- 记录一次Socket异常:java.net.SocketException: Connection reset
先贴异常信息 java.net.SocketException: Connection resetat java.net.SocketInputStream.read(SocketInputStrea ...
- 阿里云ECS——Linux连接错误[Read from socket failed: Connection reset by peer]解决方案
问题描述 改变了系统权限 chmod 777 -R /后,SSH连接错误[Read from socket failed: Connection reset by peer]. 主要是改变了/etc/ ...
最新文章
- ORA-10997:another startup/shutdown operation of this instance in progress解决方法
- 由VMWorld2010想到的Social Media宣传
- 云计算在未来一定是不可或缺的
- 【转载】实现软件架构质量属性的战术
- 《Head First设计模式》 读书笔记16 其余的模式(二) 蝇量 解释器 中介者
- winform 项目 发布后比本地运行慢_前端团队基于 GitLab CI/CD 的自动化构建、发布实践,快来学习吧...
- vue根据屏幕大小适配表格高度
- is和as在类型转换时的性能差异
- 团队软件库_R FMEA软件介绍
- Linkedin葵花宝典
- 和平精英怎么玩?智能找图、鼠标滚轮宏按键玩吃鸡还能匹配手机?
- matlab 计算 Lorenz 系统最大李雅普诺夫指数
- matlab普朗克黑体辐射公式,MATLAB 黑体辐射规律的研究详解.doc
- kettle 完成处理后的字母含义,(I)nput, (O)utput, (R)ead, (W)ritten, (U)pdated, (E)rror
- macmini性能测试软件,Mac mini
- 同步传输和异步传输_同步和异步传输| 数据通讯
- 计算机网络是啥意思啊,kk是什么意思?
- 从黄金时代到没落尽头,“寻求出售”的GoPro遭遇了什么?
- 软件压缩卡与硬件压缩卡的比较
- 手机搜狐概念版 html,搜狐领跑四大门户 首推H5技术手机概念版
热门文章
- 谷歌浏览器iframe兼容问题_兼容解决 IE 、火狐、谷歌浏览器中 Iframe框架的页面缓存的方法...
- 微信多开txt_电脑上登录多个微信(微信多开)教程
- VsCode 刷 LeetCode解决办法
- 爬虫神器之selenium的使用
- 第一篇博客,写在迷茫无措时
- [GIS笔记] 模型篇-数据模型、空间数据模型、GIS数据模型、逻辑数据模型的种类
- 知识图谱顶会论文(ACL-2022) PKGC:预训练模型是否有利于KGC?可靠的评估和合理的方法
- mysql图书管理数据库的三个关系模式_数据库 考虑如下关于图书馆的关系模式,用关系代数写出查询(数据库系统概念第六版6.14)...
- 使用CUDA显卡加速SDK实现 H264编码
- arm-linux-strip是减肥工具而不是压缩工具