다음과 같이 변경한다
build.gradle
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.0'
//implementation 'androidx.appcompat:appcompat:1.3.0' 으로 변경하니 정상실행
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.navigation:navigation-fragment:2.3.5'
implementation 'androidx.navigation:navigation-ui:2.3.5'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}