android / architecture-samples

A collection of samples to discuss and showcase different architectural tools and patterns for Android apps.
Apache License 2.0
44.16k stars 11.6k forks source link

Excessive Auto-Generated Files and Cleanup Process in Hilt-Integrated #977

Open osamasayed585 opened 10 months ago

osamasayed585 commented 10 months ago

In your Android project, you have been using Hilt successfully for dependency injection. However, over time, I've noticed that an excessive number of auto-generated files related to Hilt have accumulated in your project directory. These files clutter your project structure, making it difficult to manage and maintain.

image

We would greatly appreciate your guidance on how to effectively remove all unnecessary auto-generated files related to Hilt from our project and prevent them from reappearing. Additionally, any insights into why these files are persisting after removing Hilt dependencies would be valuable.