안드로이드 스튜디오 버젼 바꾼 뒤 오류가 계속 생깁니다.
6365
작성한 질문수 2
Can't determine type for tag '<macro name="m3_comp_assist_chip_container_shape">?attr/shapeAppearanceCornerSmall</macro>'
기존에 뱀장어 그림 Android studio 사용하다가 영상 속 안내 버젼인 Fox버젼으로 바꾼 뒤 위 오류가 발생합니다.
구글링을 통해 build.gradle(Module)에서
implementation 'com.google.android.material:material:1.8.0'
위 코드를
implementation 'com.google.android.material:material:1.6.0'이렇게 수정한 뒤에는
Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
이런 오류가 발생합니다.
두 오류 전부 빌드는 진행 되고 그 후에 오류가 발생하는데
아무리 찾아봐도 해당 오류에 대한 해결 방법을 찾을 수가 없어서 문의드립니다
답변 1
0
코드를 깃허브에 올려주시고 링크를 공유주시거나
이메일 uyalae@naver.com 으로 공유해주시면 살펴보겠습니다.
0
build.gradle(project)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.3"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
build.gradle(module)
dependencies {
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
implementation "com.yuyakaido.android:card-stack-view:2.3.4"
}
0
https://github.com/Kim-seng-won/Android_date
firebase를 통한 회원가입 기능 구현 과정에서 전에 발생한 버젼 오류가 다시 발생하내요..
//오류코드
C:/Users/KIMSW/.gradle/caches/transforms-3/f663d5a3bd5f3b3b7d9d0fcd9825b0ea/transformed/jetified-firebase-analytics-ktx-21.2.1-api.jar!/META-INF/java.com.google.android.libraries.firebase.firebase_analytics_ktx_granule.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
gradle 코드는 수정한게 없는데 해결방법을 못찾겠습니다.
0
라이브러리 세팅 쪽에서 충돌이 일어나는 것 같습니다.
implementation platform('com.google.firebase:firebase-bom:31.3.0')
// implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-auth-ktx'
implementation 'com.google.firebase:firebase-firestore-ktx'
이 부분을 주석처리하시고 진행해주세요.
implementation 'com.google.firebase:firebase-analytics-ktx'
0
혹은 최신 버전의 안드로이드 스튜디오를 다운받아서 사용하셔도 됩니다.
제가 아래 링크에 해결 방법을 첨부해드렸습니다.
혹시 오류가 있다면 한번 더 문의주세요.
수강에 불편을 드려 다시한번 사과드립니다.

0

새 안드로이드 스튜디오 설치 후 테스트겸 새 프로젝트를 생성하여 안내해주신대로 build.gradle을 수정했습니다.
이후 위와 같은 버젼오류가 다시 발생했고 구글링과 chatgpt등 오류 해결방법을 찾아봤는데 잘 안되내여 ㅠ 어디가 문제일까요 혹시 알려주신 최신 버젼이 위 버젼이 아닌가여?
0
네 그렇게 만들어도 동일한 오류 발생합니다.
새 프로젝트 생성후 바로 build.gradle만 변경했는데도 안되내여
구글링에서 재설치를 반복하다보면 위 디렉토리에 이전버젼 세팅이 쌓여 꼬일 수 있다고해서 이전 파일 다 삭제 후에 진행했는데도 동일합니다.
CardStackView 라이브러리 추가에 실패합니다.
0
98
1
CardStackView
0
127
2
CardStackView 오류 정상적으로 구현이 되지 않습니다.
0
201
3
최신화 된 강의 요청합니다
0
163
2
auth.currentUser?.uid.toString() 가 null 이 나와요
0
194
1
혹시.. 지금 최신 환경 상, 강의 내용대로 진행이 안 되는 걸까요?
0
243
1
현시점에서 알려주신 방법대로 서버키를 받는것이 안되는것같습니다
0
261
2
3강 firebase 쓰기가 동작하질않아요
0
186
1
강사님 실시간으로 혹시 문의하는 방법은 없을까요??
0
185
1
해당 강의 들으시는 분들 중에 교육관련해서 서로 얘기 나누실 분 있으신가요??
0
158
1
강사님 FCM 단계 진행하면서 오류들이 너무 많이 발생합니다...
0
207
1
FCM 토큰 문의
0
215
1
강사님 FCM 단계에서 전체적으로 앱 문제가 발생해서 혹시 원격으로 조치 해주실 수 있나요?
0
233
1
토큰 정보 유저정보에 저장하기 강의 4분 12초 코드를 동일하게 입력했는데 적용이 잘 안되는 것 같아요.
0
399
3
토큰 받아와서 메세지 보내기 강의 2분 20초 로그캣 확인 하는 창이 다르고 토큰 값이 안떠요.
0
221
1
FCM 강의, firebaseservice 클래스 내 오류코드 해결방안이 궁금합니다.
0
275
2
FCM 강의 중간부터 코드 오류가 발생했는지 앱에서 회원가입을 해도 파이어베이스 Authentication에는 회원등록이 해도 화면이 넘어가지 않고 데이터도 저장이 안 되네요.
0
296
3
섹션 1 CardStackView의 Implement members 질문있습니다.
0
228
1
수업자료 다운로드 후 알집풀기에서 오류가 발생합니다.
0
467
3
Retrofit 사용해보기 강의 2:20 쯤에 작성된 복사된 코드는 어디서 받나요?
0
234
2
강의 FCM 소개 1:56에 디펜던시 추가하는게 최신버전으로 바뀐 듯합니다.
0
277
1
매칭이 되면 알람 띄우기 강의에서 오류문구 해결방안이 궁금합니다.
0
358
3
소스코드 다운이 불가능합니다..
0
146
1
나와 다른 성별의 유저 불러오기 강의에서 에뮬레이터에서 앱이 켜졌다가 바로 꺼져요.
0
461
11






프로젝트를 jetpack compose로 만드신 것 같은데 