1. Gradle sync failed: Cause: error in opening zip file 的错误
https://www.cnblogs.com/maydear/p/6849745.html
https://blog.csdn.net/u010064206/article/details/68699981
2. Gradle project sync failed Error:Connection reset
https://blog.csdn.net/hackcoder/article/details/50321863
TA的步骤是
-
File -> Invalidate caches / Restart;选择Invalidate and Restart
-
关闭 Android Studio
-
删除 “/home/{username}/.gradle” 文件夹
-
重启android studio
我的是选了File -> Invalidate caches / Restart后,提示重启AS,然后再次打开项目时会提示build tool缺少版本,需要下载,下载完成后就可以run成功了。