使用 jitpack.io 倉庫 提示錯誤
原來配置
maven { url "http://jitpack.io" }
經過多天查找問題 修改 tls也不行 總之折騰啊
後來無意發現 增加一個www問題居然解決了
maven { url "http://www.jitpack.io" }
感嘆java開發的地雷天坑有多麼令人無語
def addRepos(RepositoryHandler handler) { handler.jcenter() handler.google() handler.mavenCentral() //jitpack.io 添加一個www handler.maven { url "http://www.jitpack.io" } handler.maven { url "https://dl.bintray.com/umsdk/release" } //Add the aliyun repository handler.maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'} //Add the Local repository handler.maven{ url 'LocalRepository'} }