您的位置:首页 > 移动开发 > Android开发

Android Studio升级后 出现在No subject alternative DNS name matching services.gradle.org found.

2015-04-11 22:45 726 查看
Error:No subject alternative DNS name matching services.gradle.org found.

解决办法:

编辑 gradle/wrapper/gradle-wrapper.properties,修改 distributionUrl :

distributionUrl=http://services.gradle.org/distributions/gradle-2.2.1-all.zip

就是把https改为http;

原文:

Edit gradle/wrapper/gradle-wrapper.properties, that should be available at the root of your project, and change distributionUrl to:

distributionUrl=http://services.gradle.org/distributions/gradle-2.2.1-all.zip

来自stackoverflow:http://stackoverflow.com/questions/29576097/gradle-sync-error-in-android-studio-when-importing-project
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐