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
解决办法:
编辑 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
相关文章推荐
- 使用jutil测试程序出现错误java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=classestest]
- android studio 出现错误 No resource found that matches the given name...
- Android Studio Gradle编译时『No resource found that matches the given name』解决方法(windows系统的坑)
- Android Studio Gradle编译时『No resource found that matches the given name』解决方法(windows系统)
- Android studio报错 Error retrieving parent for item: No resource found that matches the given name ...
- ubuntu android studio 编译及运行错误Error retrieving parent for item: No resource found that matches the given name
- 调试出现"no matching symbolic information found"原因以及解决办法
- 出现log4j:WARN No appenders could be found for logger (org.apache.pdfbox.pdfparser.PDFObjectStreamPars
- IOSXcode更新证书时出现No matching provisioning profiles found
- Archive出现Code Sign error: No matching provisioning profile found:......
- unity3d导入jar包发布出现错误No resource found that matches the given name 'Theme.AppCompat.Light'.
- 关于 modelsim仿真时出现No objects found matching '/*'问题
- Java.Security.Cert.CertificateException: No Name Matching Localhost Found
- 关于安卓出现No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- 打开Android Studio时出现No JVM installaton found a 64-bit jdk
- Android studio运行时,出现org.gradle.process.internal.ExecException异常
- CXF中,出现 No services have been found.
- 出现信息:Loaded 'ntdll.dll', no matching symbolic information found.
- 升级android sdk到5.0时,创建项目出现错误:No resource found that matches the given name 'android:Widget.Material.A
- android studio环境配置以及出现NO jvm installation found解决方案。