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

  • Post author:
  • Post category:其他



升级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”

}


即可。



版权声明:本文为yangchenglangzi原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。