Error:Unknown host services.gradle.org. You may need to adjust the proxy settings in Gradle

后端 未结 16 2053
有刺的猬
有刺的猬 2020-12-15 08:38

i have tried it many times but its giving me same error.how to set the proxy so that this error is solved

16条回答
  •  时光说笑
    2020-12-15 08:57

    I had the same problem. What worked for me was:

    Go to File>Invalidate caches/restart>Invalidate and restart.

    Hope it works for you too.

    If that doesn't work, give your system access to internet and click on Help>Check for Updates. And update android studio to latest versions. All gradle along with plugins will be updated and i guess it should resolve the issue.

提交回复
热议问题