1 | initial version |
You can eliminate files generated by KAPT (Kotlin Annotation Processing Tool) and KSP (Kotlin Symbol Processing) in Android Studio by following these steps:
Open your project in Android Studio.
Navigate to the "Project" view in the "Project" pane on the left-hand side.
Expand the "app" module.
Right-click on the "build" folder and select "Show in Explorer" (Windows) or "Reveal in Finder" (Mac).
In the file explorer window that opens, delete the following folders:
"generated"
"kapt"
"ksp"
Note that deleting these files may cause errors or warnings in your project, so be sure to test your app thoroughly after deleting them.