在新工程根目錄的build.gradle?文件中增加 Maven 倉庫地址時(shí)引起的錯(cuò)誤 原因:buildscript{}位置放在了plugins{}的下方解決方法:將buildscript{}調(diào)整到最上方匆赃。