primaree
primaree copied to clipboard
Not able to use PrimareeApplication with Hilt
error: onCreate() in Hilt_App cannot override onCreate() in PrimareeApplication
Hey! Thanks for the report. I will try to reproduce but if you have a sample project or just a code snippet I will appreciate if you share it here.
I've tried it on the :sample application in the following way:
@HiltAndroidApp
class App : PrimareeApplication() {
...
}
and it works as expected.
I can also see this is an issue - Hilt does not appear to like onCreate being made final. Perhaps it was a change to the Hilt lib, in the latest version (2.44) it's a problem
@danielwilson1702 could you please provide a sample project to reproduce it?