여기저기 검색해봐도 저랑 같은 문제를 겪는 분이 없는거 같아서 질문글 납겨봅니다.
firebase 란 녀석의 존재를 얼마 전에 알게돼서 예제를 따라해보는 중인데
그냥 프로젝트에 추가만 해도 자꾸 버전때문에 오류가 생기네요 -_-^
일단 그냥 프로젝트에 firebase 를 연결하기만 해도 빨간줄이 뜹니다.
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-core:11.8.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.android.support:design:28.0.0-rc01'
}
apply plugin: 'com.google.gms.google-services'
저렇게 넣기만 해도
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
요 부분에서 빠알간 밑줄이 그어지면서
All com.android.support libraries must use the exact same version 어쩌구 blablabla..
라면서 뭐 버전이 같아야 된다는거 같은데 -_- 지들이 자동으로 등록해놓고 어쩌란건지(....)
일단 무시하고 컴파일하면 그래도 실행은 됩니다.
그런데 문제는 그 다음인데요.
예제에서 firebase ui 란 녀석을 사용한다길레 라이브러리로 추가했습니다.

요렇게요.
걍 검색되는 놈 중에 com.firbaseui.firebase-ui 인놈이 저거 밖에 없으니 저게 맞겠죠..-_-;
OK를 누르면
implementation 'com.firebaseui:firebase-ui:2.1.0'
이 줄이 제일 하단에 추가되고
implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.google.firebase:firebase-core:11.8.0'
빨간줄이 두개가 됩니다 -_-;
게다가 이젠 컴파일도 안돼요! OTL
새로 생긴 빨간줄에선
All gms/firebase libraries must use 어쩌구저쩌구..
하면서 마찬가지로 버전이 같아야한다는데 뒤에 11.8.0 이나 2.1.0 이런걸 변경해서
같은 버전으로 맞춰봐도 여전히 에러가 뜨구요...
어떻게 해결해야할지 도움 좀 부탁드립니다 (__);;