美文网首页
Gradle7.0 Sync Project时出现Build w

Gradle7.0 Sync Project时出现Build w

作者: AnterC | 来源:发表于2022-05-28 16:25 被阅读0次

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

相关文章

网友评论

      本文标题:Gradle7.0 Sync Project时出现Build w

      本文链接:https://www.haomeiwen.com/subject/okgiprtx.html