‘buildSrc’ cannot be used as a project name as it is a reserved name. 可以尝试使用以下方法解决: 打开你的 settings.gradle / settings.gradle.kts 文件 将 “buildSrc” 从 included modules 移除 重新编译