[Error]

A problem occurred evaluating root project '{projectName}'.
> Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'build.gradle'
아래 노란색 체크 표시가 에러 났다는 부분이다.

[해결방법]
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
-> repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) 로 수정


'개발 이야기' 카테고리의 다른 글
| [install] npx 설치하기 (0) | 2022.02.19 |
|---|---|
| [Error] Some problems were found with the configuration of task ':app:processDebugGoogleServices' (0) | 2022.02.17 |
| [install] node.js 업그레이드 (0) | 2022.02.17 |
| [Error] Execution failed for task ':app:stripDebugDebugSymbols' (0) | 2022.02.15 |
| [Error] Execution failed for task 'appcompileDebugJavaWithJavac' (0) | 2022.02.14 |