How to project clean in Android Studio?

Mansukh Ahir picture Mansukh Ahir · Feb 18, 2015 · Viewed 84k times · Source

I am new in Android Studio so I face some problem with it. I am looking for a way how to project clean.

In Eclipse I would do Project -> Clean -> OK but I don't know how it is done with Android Studio.

Answer

Skizo-ozᴉʞS picture Skizo-ozᴉʞS · Feb 18, 2015

You can clean your project doing this

Build > Clean Project or Build > Rebuild Project

Also you can do the gradlew clean

enter image description here

As @Kellogs commented :

Manually delete the [project]/.gradle as hidden folder as that one is the main culprit for large cleaned projects sizes.