간만에 라이브러리 버전을 변경하곤 맞이 하는 오류 메시지 =_ =
한번에 되는게 없군 하곤 뒤적 뒤적 오류 메시지를 확인하는데
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugAidl'.
> In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[1.2.0
-alpha02]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
Dependency failing: androidx.fragment:fragment-testing:1.2.0-alpha02 -> androidx.fragment:fragment-ktx@[1.2.0-alpha02],
but fragment-ktx version was 1.2.0-alpha03.
The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
ifact with the issue.
-- Project 'app' depends onto androidx.fragment:fragment-ktx@{strictly 1.2.0-alpha03}
-- Project 'app' depends onto androidx.navigation:navigation-fragment-ktx@{strictly 2.2.0-alpha02}
-- Project 'app' depends onto androidx.fragment:fragment-testing@1.2.0-alpha02
-- Project 'app' depends onto androidx.navigation:navigation-fragment-ktx@2.2.0-alpha02
-- Project 'app' depends onto androidx.fragment:fragment-testing@{strictly 1.2.0-alpha02}
For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.
구글 서비스쪽이랑 내가 선택한 라이브러리의 버전이 충돌이 나는 듯 싶은데 어떻게 해결해야 하나 하고 뒤적거리던 차에 오류 문구중에 발견한 한줄 되시겠다.
adding "googleServices { disableVersionCheck = false }" to your build.gradle file.
그러곤 잠시 고민끝에
app level build.gradle 가장 하단에 코드를 아래와 같이 넣었다.
apply plugin: 'com.google.gms.google-services'
googleServices { disableVersionCheck = true }
끝.
'Android' 카테고리의 다른 글
dokka (kdoc) (0) | 2019.11.06 |
---|---|
간만에 안보던 apk 업데이트를 봤더니만 ACTION_INSTALL_PACKAGE 이 deprecated 되었다. =_ = (0) | 2019.10.31 |
오류 Kotlin: Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option (0) | 2019.09.10 |
OnBackPressedDispatcher 이용 (0) | 2019.09.05 |
DaggerApplication 에서 multidex 사용하기 (0) | 2019.09.04 |