코딩ㆍ개발 정보/안드로이드앱 (코틀린)

Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle' 해결 방법

RioRex 2023. 5. 31.

 

[Kotlin] 안드로이드와 파이어베이스 연동 

https://toy9910.tistory.com/28

 

따라하던 중

A problem occurred evaluating root project 'riorexbus'. > Build was configured to prefer settings repositories over project repositories but repository 'Google' was added by build file 'build.gradle'

에러가 발생했다.

 

해결 방법은 2가지라고 했는데, 두번째 방법으로 했더니 SYNC가 가능했다.

출처: https://angelplayer.tistory.com/263

 

[안드로이드 에러] 라이브러리 추가 시 에러 (Build was configured to prefer settings repositories..) 해결

에러 A problem occurred evaluating project ':app'. > Build was configured to prefer settings repositories over project repositories but repository 'maven' was added by build file 'app\build.gradle' 원인 글을 작성하는 시점의 최신 안드로이

angelplayer.tistory.com

 

반응형

댓글