赞
踩
Android Studio Version:
使用自己的仓库:
之前都是在build.gradle中添加:
allprojects { repositories { jcenter() maven { url "https://jitpack.io" } maven { url "http://artifactory.xxx" credentials { username = "xxx" password = "xxx" } } flatDir { dirs 'libs' } google() } }
结果最近在build.gradle添加后报错,需要添加在setting.gradle中
repositories { google() mavenCentral() jcenter() // Warning: this repository is going to shut down soon maven { url "http://artifactory.xxx" allowInsecureProtocol = true credentials { username = "xxx" password = "xxx" } } flatDir { dirs 'libs' } }
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。