You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build fails because samples are missing, and Hilt cannot inject.
My solution is to replace / in settings.build.kts with File.separator. And then everything works as expected. I don't know if it's the correct solution. If so, I'm also happy to open a PR.
Relevant logcat output
platform-samples\app\build\generated\hilt\component_sources\debug\com\example\platform\app\MainApp_HiltComponents.java:133: error: [Dagger/MissingBinding] java.util.Set<com.google.android.catalog.framework.base.CatalogSample> cannot be provided without an @Provides-annotated method.
public abstract static class SingletonC implements MainApp_GeneratedInjector,
^
java.util.Set<com.google.android.catalog.framework.base.CatalogSample> is injected at
com.google.android.catalog.framework.ui.CatalogActivity.catalogSamples
com.example.platform.app.MainActivity is injected at
com.example.platform.app.MainActivity_GeneratedInjector.injectMainActivity(com.example.platform.app.MainActivity) [com.example.platform.app.MainApp_HiltComponents.SingletonC �� com.example.platform.app.MainApp_HiltComponents.ActivityRetainedC �� com.example.platform.app.MainApp_HiltComponents.ActivityC]
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
In which area is the issue?
General
In a specific sample?
No response
What happened?
The build fails because samples are missing, and Hilt cannot inject.
My solution is to replace
/
in settings.build.kts withFile.separator
. And then everything works as expected. I don't know if it's the correct solution. If so, I'm also happy to open a PR.Relevant logcat output
Code of Conduct
The text was updated successfully, but these errors were encountered: