今天从git上下载一个demo
正好遇上as提示升级3.1.4手痒升级了
项目build一直提示 Cause: unable to find valid certification path to requested target
如下贴出我发现的两种解决方法css
allprojects {
repositories {
google()
jcenter()
}
}
修改后git
allprojects {
repositories {
google()
jcenter()
//新添加的
mavenCentral()
mavenLocal()
}
}