How to project clean in android studio?

拈花ヽ惹草 提交于 2019-11-26 13:46:29

You can clean your project doing this

Build > Clean Project or Build > Rebuild Project

Also you can do the gradlew clean

As @Kellogs commented :

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

Cleaning an android project is quite simple just follow these steps

1. Click on Gradle pane,found in the top-right corner of Android Studio 
2. Click on your project,then Tasks -> build ->clean

Step 1 Step 2

Note- Never clean your project using the Build -> Clean Project.Instead of cleaning your project it will increase the size of it.

Edit- clean has been replaced by cleanBuildCache in the recent versions of Android Studio.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!