I want to reduce Android Studio project size to save it for after use
In MS Visual Studio, we can delete *.ipch, *.sdf and Debug files to reduce the project size
In Android Studio, go to the Terminal window. If you did not go to a different directory since you opened the IDE, you should find yourself on the top level of your project folder (something like ../Android Studio/projectname). There you simply type
./gradlew clean
That's it. I just reduced my project folder size from 589 MB to 21 MB.