欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

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

 更新時間:2020年03月12日 10:50:12   作者:M_Stockholm  
這篇文章主要介紹了Android studio 3.6.1 出現(xiàn)Cause: unable to find valid certification path to requested target 報錯的問題及解決方法,需要的朋友可以參考下

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,如下圖所示

在這里插入圖片描述

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

在這里插入圖片描述

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

到此這篇關于解決Android studio 3.6.1 出現(xiàn)Cause: unable to find valid certification path to requested target 報錯的問題的文章就介紹到這了,更多相關Android studio 3.6.1 報錯內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!

相關文章

最新評論