Assuming you would like a step-by-step guide on how to clean an Android project:
1. In Android Studio, select the Build dropdown menu at the top of the workspace and select Clean Project.
2. This will remove any compiled files and resources from your project and leave only your source code behind.
3. If you have multiple modules in your project, you can clean them all at once by selecting the Build dropdown menu again and choosing Clean Module (s).