Android

안드로이드 생성 후 빌드 에러

송보리 누나 2022. 10. 27. 17:14
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