ERROR: Software caused connection abort: recv failed 亲测解决方法

使用Android studio打开kotlin项目时报错:ERROR: Software caused connection abort: recv failed

 

 

解决方法:修改三个文件即可

ERROR: Software caused connection abort: recv failed 亲测解决方法

 

1、修改gradle-wrapper.properties

ERROR: Software caused connection abort: recv failed 亲测解决方法

修改为当前Android studio的gradle版本 

 

2、修改项目build.gradle 

ERROR: Software caused connection abort: recv failed 亲测解决方法

 修改为当前Android studio的kotlin和build:gradle的版本

 

3、修改gradle.properties

ERROR: Software caused connection abort: recv failed 亲测解决方法

 加上这四句。同步运行即可

 

在线bug交流:QQ1085220040