[안드로이드 공부]/UI
> Configurations for xxx.xml must agree on the root element's ID. Missing ID: - layout-xlarge - layout-sw600dp @+id/_layout: - layout-xhdpi - layout-mdpi - layout-hdpi
코코모모
2023. 6. 8. 17:21
buildFeatures {
compose true
viewBinding true
}
gradle에
viewBinding true 를 사용 할 경우
Root에 id 가 없어서 발생 하는 문제.
간단히,
android:id="@+id/xxx"
android:id="@+id/xxx"
를 넣어 주면 해결 된다.