repository 'maven' was added by build file 'build.gradle' 썸네일형 리스트형 [안드로이드 Error] Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'build.gradle' [Error] A problem occurred evaluating root project '프로젝트이름'. > Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'build.gradle' [해결방법] 에러는 아래 사진에서 maven 추가 부분에서 발생했다. 아마 안드로이드 스튜디오 버전 때문에 발생한 오류인 것 같다. 위 maven{ ... } 을 setting.gradle 파일에 옮겨주면 간단하게 해결이 된다. 아래 사진처럼 setting.gradle 파일에 repositories 안에 넣어주면 된다. 더보기 이전 1 다음