안녕하세요 안드로이드스투디오 새 버전과 SDK를 받아 기존 소스를 열었는데 build.gradle에 빨간줄이 생기네요.
compile 'com.android.support:appcompat-v7:25.+'
compile 'com.android.support:support-v4:25.+'
compile 'com.android.support:recyclerview-v7:25.+'
compile 'com.android.support:cardview-v7:25.+'
이러한 4가지 모두 오류가 나서 마지막 버전을 22->25로 올려줬더니 아래 세개는 오류가 나지 않습니다.첫번째 줄의 appcompat-v7만 아래 오류를 밷네요.
All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.3.1, 24.2.1, 22.2.0. Examples include `com.android.support:cardview-v7:25.3.1` and `com.android.support:animated-vector-drawable:24.2.1`. This support library should not use a different version (24) than the `compileSdkVersion` (25).
세팅은 아래와 같습니다.
compileSdkVersion 25
buildToolsVersion '25.0.0'
defaultConfig {
minSdkVersion 19
targetSdkVersion 25
versionCode 17
버전을 정확하게 맞춰야 된다는데 설치된 버전은 7.1(25) 인데
appcompat-v7은 24.2.0 까지만 있는것 같기도 하고 숫자 바꾸고 해도 도무지 없어지질 않네요
이건 번외인데 추가로 검색하다보면 ./gradlew 어쩌구 하면서 외부에서 사용하는 패키지 버전을 확인하라는스투디오에서 이걸 대체 어디다 쳐야 하나요 'Execute gradle task' 여기인지.. 여기 치니 업데이트하라고 난리고 음..조언 부탁드립니다.