안드로이드 생성 후 빌드 에러
2022. 10. 27. 17:14ㆍAndroid
728x90
프로젝트를 새로 만든 후 빌드를 했는데 이런 오류가 떴다.
Can't determine type for tag '<macro name="m3_comp_bottom_app_bar_container_color">?attr/colorSurface</macro>'
구글링하다가 찾은 내용
버전을 수정해주면 정상 빌드 된다.
- 기존 버전
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.7.0'
- 수정 버전
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'
728x90
'Android' 카테고리의 다른 글
[안드로이드] 프로젝트 생성 후 빌드 시 발생하는 에러 (0) | 2023.01.10 |
---|---|
[안드로이드] 디버그, 릴리즈 apk파일 생성하는 간단한 방법 (0) | 2023.01.05 |
안드로이드 데이터 바인딩(Data Binding) 사용하기 (0) | 2022.10.27 |
자바의 오버로딩(Overloading) 과 오버라이딩(Overriding) (0) | 2020.10.20 |
Node.js 의 Callback Hell(콜백지옥) (0) | 2020.10.19 |