Android Studio出现:Cause: unable to find valid certification path to requested target解决办法
程序员文章站
2022-06-01 10:15:21
...
第一次使用,在同步gradle文件的时候,出现了这个错误,搜索了许多的办法,都nos。最后,使用如下的办法解决了:
1.将build.gradle文件里面的所有的repositores改为如下:
repositories {
maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
google()
}
2.在program structure 里面手动更新相应的jar包:
3.此时点击右上角的同步按钮(或者点击build.gradle)上面的try again ,稍等片刻,完事!
推荐阅读
-
unable to find valid certification path to requested target 的简单解决办法
-
JAVA 解决 unable to find valid certification path to requested target 证书认证
-
resttemplate 调用https 出错 unable to find valid certification path to requested target
-
Android Studio出现:Cause: unable to find valid certification path to requested target解决办法
-
解决安全证书问题unable to find valid certification path to requested target 解决记录
-
unable to find valid certification path to requested target
-
解决unable to find valid certification path to requested target
-
IDEA unable to find valid certification path to requested target。PKIX path building failed
-
解决unable to find valid certification path to requested target
-
unable to find valid certification path to requested target