Android之Android studio Gradle sync failed: Unknown host ‘services.gradle.org

错误描述:

Gradle sync failed: Unknown host 'services.gradle.org'. You may need to adjust the proxy settings in Gradle.
    Consult IDE log for more details (Help | Show Log)

解决办法:

  1. 下载gradle
  2. ctrl+alt+s  然后输入gradle;
  3. 在project-level settings设置下面选择本地的grade的路径(一般在android studio的安装目录有个grade文件夹)
(0)

相关推荐