If you are using KSP you need to use this libraries
ksp("androidx.hilt:hilt-compiler:1.2.0") ksp("com.google.dagger:hilt-compiler:2.50")