笔者发现在导入API时经常发现unable to find valid certification path to requested target这个问题,于是我找到了一个比较有效的办法

在最外层的build.gradle 中,将buildscript里的jencter()换为如下

maven { url ‘http://maven.google.com’ }
maven { url ‘http://jcenter.bintray.com’}
maven {
url ‘http://maven.aliyun.com/nexus/content/groups/public/’
}
解决unable to find valid certification path to requested target

这样就可以啦

相关文章:

  • 2021-12-07
  • 2022-12-23
  • 2022-01-17
  • 2021-11-15
  • 2021-10-18
  • 2022-12-23
  • 2022-01-07
猜你喜欢
  • 2021-09-15
相关资源
相似解决方案