Add fragment library dependency in bundle(bundle.gradle.kts(Module:app))
implementation(libs.androidx.navigation.fragment.ktx)