Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

HiltComponents_SingletonC not generated #23

Closed
victormpineda opened this issue Jul 13, 2021 · 1 comment
Closed

HiltComponents_SingletonC not generated #23

victormpineda opened this issue Jul 13, 2021 · 1 comment

Comments

@victormpineda
Copy link

After migrating mi project from dagger to Hilt (version 2.35), the code generated by Hilt is referencing a class that does not exists, so it cannot compile:

/Projects/android-app-users/app/build/generated/source/kapt/localhostDebug/com/example/android/Hilt_ExampleApp.java:20: error: cannot find symbol
      return DaggerExampleApp_HiltComponents_SingletonC.builder()
             ^
  symbol: variable DaggerExampleApp_HiltComponents_SingletonC

I've checked it in the build directory and the file does not exists. The rest of files generated by hilt seems ok. My application class is annotated with @HiltAndroidApp, but the code generated by hilt looks wrong.

@limitAlltheir
Copy link

I have same problem. How did u fix it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants