标签:应该 relevant lan and mave tar http maven uil
错误提示:
Could not resolve io.fabric.tools:gradle:1.31.2
错误原因:
maven库被挡住了!
解决方法:
1,在AS里面打开build.gradle文件。
2,修改"repositories"->"maven"->"url"值
url ‘http://s3.amazonaws.com/fabric-artifacts/public‘
我的配置完整代码,根据工程不同可能会有不同,但maven里的url应该配置成这个:
repositories { google() jcenter() maven { url ‘http://s3.amazonaws.com/fabric-artifacts/public‘ } }
3,随后重启AS就可以了!
参考:
https://s3.amazonaws.com/fabric-artifacts/public/io/fabric/tools/gradle/maven-metadata.xml
标签:应该 relevant lan and mave tar http maven uil
原文地址:https://www.cnblogs.com/sunylat/p/12652585.html