在编译项目的时候 Android Studio 提示出现如下错误:
Unknown host 'dl.google.com'. You may need to adjust the proxy settings
解决方法:
打开 C:\Windows\System32\drivers\etc 文件夹下的 hosts 文件,添加一行 dl.google.com 的 IP 地址:
203.208.40.36 dl.google.com
然后重新编译下就可以了。
在编译项目的时候 Android Studio 提示出现如下错误:
Unknown host 'dl.google.com'. You may need to adjust the proxy settings
解决方法:
打开 C:\Windows\System32\drivers\etc 文件夹下的 hosts 文件,添加一行 dl.google.com 的 IP 地址:
203.208.40.36 dl.google.com
然后重新编译下就可以了。