赞
踩
新版不再build里换源
在settings里
换成这样:
repositories { maven{ url 'https://maven.aliyun.com/repository/central' } maven{ url 'https://maven.aliyun.com/repository/public' } maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'} google() mavenCentral() gradlePluginPortal() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { maven{ url 'https://maven.aliyun.com/repository/central' } maven{ url 'https://maven.aliyun.com/repository/public' } maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'} google() mavenCentral() } } rootProject.name = "DianKan" include ':app' 在这里插入代码片
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。