【Linux】解决Android Stadio报错:error in opening zip file


报错:

  Failed to complete Gradle Execution

  Cause: error in opening zip file.

原因:

  安装gradle失败引起的,往往是上网需要验证或是上网权限没有开通导致的;

解决:

  1. 先删除原有的残余信息

  rm -rf ~/.gradle ~/AndroidStudioProjects/.gradle

  2. 检查网络配置,确保正常上网,android stadio代理上网配置操作:

  File -> Settings -> Http Proxy -> 使用系统的配置即可  

 

参考链接:

  [1] https://stackoverflow.com/questions/23828085/android-studio-failed-to-complete-gradle-execution-error-in-opening-zip-file

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM