Warning: Failed to parse host xx.xx.com

Error: Warning: Failed to parse host xx.xx.com

Analysis: Android Studio set up a proxy, but failed to connect resulting in an error

solve:

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

2. Find the one in your project gradle.propertiesand comment out the following agents

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

3. C:\Users\username.gradle\ gradle.properties
Also comment out the address of the last agent in the text

Guess you like

Origin blog.csdn.net/weixin_38515203/article/details/106453256