问题:   

       新装As,设置了 HTTP Proxy host name 为mirrors.opencas.cn ,新项目sync不过  报错:Unknown host 'mirrors.opencas.cn'.         You may need to adjust the proxy settings in Gradle,

   原因:使用了错误的网络代理配置信息

   解决方法:

      1.将Settings 下的Http Proxy 设置为 No Proxy 记得Apply

亲测Unknown host mirrors.opencas.cn You may need to adjust the proxy settings in Gradle 解决办法

   2.找到找到你C盘用户 文件夹下的.gradle 下 , 看看有没有一个叫gradle.properties 文件,修改里边的网络代理配置信息,或者直接把该文件夹删除。

亲测Unknown host mirrors.opencas.cn You may need to adjust the proxy settings in Gradle 解决办法

   3.完美解决  

 

相关文章:

  • 2021-12-22
  • 2022-01-10
  • 2022-12-23
  • 2021-11-14
  • 2021-04-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-06
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2021-04-02
  • 2021-05-22
相关资源
相似解决方案