Error:Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’

升級gradle後編譯報錯:Error:Authentication scheme ‘all’(Authentication) is not supported by protocol ‘file’


將原項目的build.gradle文件中的
maven {  
    url getMavenRepoUrl()  
    credentials {  
        username getMavenUsername()  
        password getMavenApiKey()  
    }  
}  



替換成

maven { url "https://jitpack.io" } 


即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章