Gradle7.0后出现Build was configured to prefer settings repositories over project repositories but repository 'maven错误,或者Rebuild Project时出现Could not found com.***库,比如阿里云的sdk,需要在Project的settings.gradle配置相应的maven,而不是以前的在Project的build.gradle中进行配置。
settings.gradle
网友评论