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)
解决办法:
- 下载gradle
- ctrl+alt+s 然后输入gradle;
- 在project-level settings设置下面选择本地的grade的路径(一般在android studio的安装目录有个grade文件夹)
赞 (0)