国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

解決Android studio 3.6.1 出現Cause: unable to find valid certification path to requested target 報錯的問題

瀏覽:103日期:2022-09-26 17:39:00

1、首先修改根目錄下的build.gradle成如下格式

// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript { repositories { maven { url ’http://maven.aliyun.com/nexus/content/repositories/google’ } maven { url ’http://maven.aliyun.com/nexus/content/repositories/jcenter’} } dependencies { classpath ’com.android.tools.build:gradle:3.6.1’ // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}allprojects { repositories {// google()// jcenter() maven { url ’http://maven.aliyun.com/nexus/content/repositories/google’ } maven { url ’http://maven.aliyun.com/nexus/content/repositories/jcenter’} }}

2、然后點擊sync project with gradle files,如下圖所示

解決Android studio 3.6.1 出現Cause: unable to find valid certification path to requested target 報錯的問題

3、 如果再次報錯請清理緩存并重啟AS,方法如下圖

解決Android studio 3.6.1 出現Cause: unable to find valid certification path to requested target 報錯的問題

4、(最重要的步驟)如果再次報錯,請不厭其煩的且厚不要臉的多次點擊這個小象(即重復第二步操作),正常情況下奇跡會發生的。(反正我是見證該奇跡了)

到此這篇關于解決Android studio 3.6.1 出現Cause: unable to find valid certification path to requested target 報錯的問題的文章就介紹到這了,更多相關Android studio 3.6.1 報錯內容請搜索好吧啦網以前的文章或繼續瀏覽下面的相關文章希望大家以后多多支持好吧啦網!

標簽: Android
相關文章:
主站蜘蛛池模板: 济南市| 富民县| 枣阳市| 永靖县| 隆德县| 巴东县| 余姚市| 定襄县| 县级市| 呈贡县| 方城县| 电白县| 米脂县| 中山市| 咸宁市| 濉溪县| 务川| 江津市| 五常市| 霍山县| 河东区| 新竹县| 瑞昌市| 新民市| 香格里拉县| 闽侯县| 咸宁市| 竹溪县| 拉孜县| 巩义市| 合山市| 西盟| 新宁县| 北流市| 内黄县| 右玉县| 隆林| 万载县| 建始县| 谢通门县| 全椒县|