美文网首页
Warning: Failed to parse host xx

Warning: Failed to parse host xx

作者: 夜瑾漠 | 来源:发表于2020-05-30 12:55 被阅读0次

报错:Warning: Failed to parse host xx.xx.com

分析:Android Studio设置了代理,但是无法连接导致报错

解决:

1、File——>Settings——>HttP Proxy——>No Proxy

2、找到你工程中的 gradle.properties,将以下代理注释掉

#systemProp.http.proxyHost=xxx.xxx.com
#systemProp.http.proxyPort=xx

3、C:\Users\username.gradle\gradle.properties
同样将文中最后设置代理的地址注释掉

相关文章

网友评论

      本文标题:Warning: Failed to parse host xx

      本文链接:https://www.haomeiwen.com/subject/pebczhtx.html